Chart Model"
Raymondchao (talk | contribs) |
Raymondchao (talk | contribs) |
||
Line 2: | Line 2: | ||
{{Template:UnderConstruction}} | {{Template:UnderConstruction}} | ||
+ | |||
+ | == Manipulating Model == | ||
+ | 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 MVC<ref>[[ZK_Developer's_Reference/MVC/Model | ZK Developer's Reference MVC Model]]</ref> and MVVM<ref>[[ZK_Developer%27s_Reference/MVVM | ZK Developer's Reference MVVM]]</ref>, which are both fully supported patterns. | ||
+ | |||
+ | ZK provides chart model <ref>[[ZK_Developer's_Reference/MVC/Model/Chart_Model | ZK Developer's Reference Chart Model]]</ref> to handle data in chart. Manipulating chart model with chart is the same as other ZK components handling their supporting models. We've used MVC approach to create the chart in previous [[ZK_Charts_Essentials/Getting_Started_with_ZK_Charts/Create_your_first_ZK_Charts | Create your first ZK Charts]]. In the section, we will create another example to manipulate chart model in MVVM approach. | ||
== Supported Model == | == Supported Model == | ||
− | ZK provides chart model <ref>[[ZK_Developer's_Reference/MVC/Model/Chart_Model | ZK Developer's Reference Chart Model]]</ref> to handle data in chart. ZK Charts also supports these 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. ZK provides chart model <ref>[[ZK_Developer's_Reference/MVC/Model/Chart_Model | ZK Developer's Reference Chart Model]]</ref> to handle data in chart. ZK Charts also supports these models. |
=== Type and Supported Model === | === Type and Supported Model === | ||
− | |||
{| border="1" | {| border="1" | ||
Line 81: | Line 85: | ||
The exmaple of chart model can be found in [[ZK_Component_Reference/Diagrams_and_Reports/Chart#Example | Chart Example]]. | The exmaple of chart model can be found in [[ZK_Component_Reference/Diagrams_and_Reports/Chart#Example | Chart Example]]. | ||
− | |||
− | |||
− | |||
= References = | = References = |
Revision as of 17:48, 5 March 2014
Manipulating Model
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 MVC[1] and MVVM[2], which are both fully supported patterns.
ZK provides chart model [3] to handle data in chart. Manipulating chart model with chart is the same as other ZK components handling their supporting models. We've used MVC approach to create the chart in previous Create your first ZK Charts. In the section, we will create another example to manipulate chart model in MVVM approach.
Supported Model
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. ZK provides chart model [4] to handle data in chart. ZK Charts also supports these models.
Type and Supported Model
CategoryModel or XYModel | |
CategoryModel or XYModel | |
CategoryModel or XYModel | |
CategoryModel or XYModel | |
XYZModel | |
XYZModel | |
CategoryModel or XYModel | |
CategoryModel or XYModel | |
SingleValueCategoryModel | |
XYModel | |
XYModel or XYZModel | |
DialModel | |
XYModel | |
XYModel | |
CategoryModel or XYModel | |
SingleValueCategoryModel |
The exmaple of chart model can be found in Chart Example.
References
< Get Complete Source Code of This Book >