# ZK Charts 2.1 now released!

tendysu
1731 1 2

ZK Charts has now been upgraded to version 2.1, bringing new features like box plot, tree map and polygon series!

delete retag edit

## 4 Replies

IngoB
256 6

Hi,

I got another issue. I want to set the "ThousandsSep" to "," (comma) like it was before (at least for us). The chart is not displaying it!

Options options = new Options();
options.getLang().setThousandsSep(",");
charts.setOptions(options);


I tried setting it to "~" like you suggested, which is working. Even "." (dot) is working. I found a fiddle, so Highcharts is capable of displaying a comma -> http://jsfiddle.net/eeDnv/456/

-edit-

options.getLang().setDecimalPoint(",");


is working, so "comma" is not a problem.

-edit2-

options.getLang().setThousandsSep("<span>,</span>");


is working as a workaround.

Is this a bug or is it not possible to display a comma as a separator for thousands?

IngoB
256 6

Thank you for your clarification. You are right, it's the first one which is added. My problem remains the same, since it's not about the tooltip. I want to hide the series you see (the "last" drawn).

christopherszu
1501

Both changes are from Highcharts.

ZK Charts 2.1 uses Highcharts 4.1.5, and the default thousands separator has been changed to " " (a single space) since 4.1.0, see highcharts doc, but that can be changed by setting the global option
Options options = new Options();
options.getLang().setThousandsSep("~");
chart.setOptions(options);

ZK Charts 2.0.1 uses Highcharts 4.0.4, the tooltip behavior is exactly the way you described, always showing the last drawn, like 4.0.4 sample, but in Highcharts 4.1.5, they are now showing the first drawn (didn't notice the random behavior), like 4.1.5 sample, if you would like to see the tooltip for overlapping points, you can use the shared option in tooltip, like shared sample, or chart.getTooltip().setShared(true); in ZK Charts.

IngoB
256 6

Hi,

I noticed some different behavior (from version 2.0.1).

Are these bugs or intended behavior (haven't read anything in the release notes)?

[hide preview]