Chart FX Passing Data: Getting Started
Passing data from databases and text files is supported by Chart FX’s core objects; however, depending on the platform, all the code required to read data from additional data sources such as XML, array and collection sources is isolated in an additional library (ChartFX.Data.DLL) allowing Software FX to easily build additional "Data Providers” as the need arises without having to modify the core objects.
By providing an additional library exclusively used for data, the programmer can decide when to include or exclude the library, thus giving control of what is to be deployed. Although data functionality requires an additional library to be deployed as part of your application, it allows easy integration of new data sources, i.e. Active Directory, Grids, OLAP, etc.
In Chart FX, there is no need to loop through data points to populate the charts. If you have a previously filled data array, just pass it to Chart FX and have the chart filled with data with as little as one line of code.
Additionally, Chart FX supports data binding with data controls and data readers. If you drop an ADO.NET DataSet control on your form, you can set a property in Chart FX allowing the chart to take information from the data control directly. Or, if you prefer, load the data to the chart by coding in an event handler using a DataSet or even a Data Command.
© Copyright 2000-2023 COGITO SOFTWARE CO.,LTD. All rights reserved