Using Series

From Documentation
Revision as of 05:40, 12 April 2017 by Hawk (talk | contribs) (Created page with "{{ZKChartsEssentialsPageHeader}} __TOC__ Another way to add data to a chart is through <javadoc directory="zkcharts">org.zkoss.chart.Series</javadoc>. You have to use <tt>Seri...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Another way to add data to a chart is through Series. You have to use Series to combine multiple types of chart in one chart component like this demo because each Series can be rendered as different chart types.

You don't need to instantiate Series by yourselves, just call getSeries(index) like:

Charts chart;
...
Series series0 = chart.getSeries(0);


< Get Complete Source Code of This Book >


Last Update : 2017/04/12

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