Integrating the styling into an application
This allows you to use a different data source. The .icpr file is not used in this approach.
To do this, set the data source and the styling separately.
Example 2 – Setting the Data Source and the Styling Separately
IlvChart chart = new IlvChart();
IlvDataSource myDataSource = ...;
chart.setDataSource(myDataSource);
chart.setStyleSheet("myproject.css");
It is a good idea to run the Designer on a snapshot of real data from your data source. Once you have implemented your custom data source, you can import data into the Designer by following the procedure explained in
Reading and writing data from an XML source in
Developing with the SDK, namely by using
IlvXMLDataWriter to create an XML file with snapshot data.
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.