highcharts-android icon indicating copy to clipboard operation
highcharts-android copied to clipboard

OMG!As a Java user, I'm not used to it.

Open houyuehai opened this issue 6 years ago • 4 comments

It's difficult to use. eg: HIChart chart = new HIChart(); chart.setType("line"); I think it should be: HIChart chart = new HIChart(); chart.setType(HIChart.TYPE_LINE); eg: yaxis2.labels.format = "{value:.,0f}"; I think it should be: yaxis2.labels.setFormat(new Callback{ public String call(value){ return “”; } }) I still see a lot of JS shadow.

houyuehai avatar Feb 13 '19 09:02 houyuehai

And the official example is version 6.0, not version 7.0.

houyuehai avatar Feb 13 '19 09:02 houyuehai

Hi @houyuehai ! Yes, we are aware of that. The wrapper is constantly evolving and approaches you pointed are currently in works. When it comes to examples - they are ready for version 7.0. We are waiting for the webmasters to put them on the site. Stay tuned!

soommy12 avatar Feb 13 '19 10:02 soommy12

Speaking of labels.format there are two ways to establish them. We kept both as the core library allows it too. One, which you already pointed out and second which is called labels.formatter. This one takes the HIFunction object as parameter which let you do native callbacks as you want.

soommy12 avatar Feb 13 '19 10:02 soommy12

Wow, today's official example has been updated to version 7.0. It's great. I am studying.

houyuehai avatar Feb 14 '19 06:02 houyuehai

It seems to be a duplicate of #46.

MikolajMichalczak avatar May 14 '24 14:05 MikolajMichalczak