skip to main content
Gantt > Programmer's documentation > Developing with the JViews Charts SDK > Using the Data Model > About data model, data sets and data sources
 
About data model, data sets and data sources
The JViews Charts library follows the popular Model-View-Controller design pattern by cleanly separating the data model from its graphical representation.
Data Model Structure
The data model distinguishes data series from sources of data. Having distinct entities to represent an elementary set of data and the whole data provides the following benefits:
*Data sets exist as objects rather than internal references within the data model, which makes it easier to reference and use them in an application. This also makes the API more understandable and easier to use.
*You can create new data set types and use them with existing data sources. Likewise, you can create new data source types that handle existing data sets.
*You can easily mix data sets that come from different sources (for example, data sets extracted from a database query with data sets whose values are updated by a thread).
You can create data sets as combinations or wrappers of other data sets (for more information on this feature, see Data set combination).

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.