Working with ZK Charts
This section details how to build interactive and customized charts that take advantage of ZK Charts’ many features.
- Manipulating Chart Model — feed data into the chart with the supplied model classes, with one example per chart type.
- Using Series — add data through
Seriesinstead of a model, e.g. for combo charts. - Changing Chart Configuration —
map Highcharts options to ZK Charts Java APIs and use
addExtraAttr()for options without a setter. - Customizing Chart Style — themes, colors, gradients, HTML axis labels, and data label formatters.
- Handling Chart Events — listen for
ChartsEventto react to plot clicks, selection, and drilldown. - MVVM Pattern — wire a
Chartscomponent and accessChartsEventfrom a ViewModel. - Drag Points — enable draggable points and forward drag/drop events to the server.
- Drill Down — built-in drilldown, on-demand loading, and a manual multi-series drilldown.
- Exporting — export images/PDF, custom
exporting menu items, and offline export via
ChartsEngine. - Display Large Number of Data — strategies for rendering many points.
- 1000 Points Threshold — what the turbo threshold is and how to raise or disable it.
- Accessibility — load the Highcharts accessibility module and configure it from Java.