skip to main content
Getting started > Introducing JViews Charts > General architecture of JViews Charts > Binding data model and graphical representation
 
Binding data model and graphical representation
The binding between a chart and the data model is performed through a unary relationship from a chart renderer to a data source.
To associate a data source with a chart renderer:
*Use the following method defined in the IlvChartRenderer class:
 
void setDataSource(IlvDataSource dataSource)
To obtain the current data source of a chart renderer:
*Use the following method:
 
IlvDataSource getDataSource

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