1000 Points Threshold

From Documentation
Revision as of 02:57, 18 January 2022 by Hawk (talk | contribs) (correct highlight (via JWB))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
1000 Points Threshold



If the data points (Point) of a series are not Number and neither array, there is a 1000-points limitation for rendering a series. If a series contains more than 1000 points, ZK Charts won't render that series.

Please run turboThreshold.zul in the example project, and you will see no series rendered after you click "add 1000 non-number points" button.

Zkcharts-essentials-overTurboThreshold.png

If you open chrome developer tool / console tab, you will see the error message below:

 Highcharts error #12: www.highcharts.com/errors/12

Solution

  • Put numeric data in Point.

series.add(Number) or addPoint(double)

  • Increase turbo threshold

chart.getPlotOptions().getSeries().setTurboThreshold(aLargerValue)

  • disable threhshold

chart.getPlotOptions().getSeries().setTurboThreshold(0)



< Get Complete Source Code of This Book >


Last Update : 2022/01/18

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.