开发者

Highcharts sparse data - hide empty values

开发者 https://www.devze.com 2023-03-31 06:27 出处:网络
I have data that can be very sparse - that is many values are zero. In this case I\'m not so much interested in the zeroes but more the values that actually have a value so I was wondering if there w

I have data that can be very sparse - that is many values are zero.

In this case I'm not so much interested in the zeroes but more the values that actually have a value so I was wondering if there wa开发者_开发百科s a way to not display columns which are empty.

Example fiddle: http://jsfiddle.net/HUBhj/

Think a case like this which is even more sparse with even more columns per category.

I have tried to read the docs as good as I can but I may have missed something.


As far as I understand it, it is not possible to simply omit empty values. Your best bet in this case is to pre-process the results as described in the documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消