Chart Model

From Documentation
Revision as of 17:15, 5 March 2014 by Raymondchao (talk | contribs)

WarningTriangle-32x32.png This page is under construction, so we cannot guarantee the accuracy of the content!

Supported Model

ZK provides chart model [1] to handle data in chart. ZK Charts also supports these models.

Type and Supported Model

Type
Model
line
CategoryModel or XYModel
spline
CategoryModel or XYModel
area
CategoryModel or XYModel
areaspline
CategoryModel or XYModel
arearange
XYZModel
areasplinerange
XYZModel
bar
CategoryModel or XYModel
column
CategoryModel or XYModel
pie
SingleValueCategoryModel
scatter
XYModel
bubble
XYModel or XYZModel
gauge
DialModel
polar
XYModel
errorbar
XYModel
waterfall
CategoryModel or XYModel
funnel
SingleValueCategoryModel

The exmaple of chart model can be found in Chart Example.

Manipulating Model

Manipulating chart model with chart is the same as other ZK components handling their supporting models. Models are the perfect way for developers to interact with the charts as they shield developers from complexities that they need not know or interact with. In addition to this ZK model support many design patterns including (but not limited to) MVC and MVVM, which are both fully supported patterns.

References

< Get Complete Source Code of This Book >


Last Update : 2014/03/05

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