ChartDirector 6.1 (Java Edition)
Using Data Sources with ChartDirector
The ChartDirector API is designed to accept data values as array variables. This is the most flexible way of accepting data. This flexibility permits ChartDirector to accept data from all kinds of data sources. For example, ChartDirector can accept data from a database, a text file, XML, or as HTTP query parameters. All is needed is to read the data into array variables, and pass them to ChartDirector.
In this section
Overview of the ChartDirector.DBTable utility class that allows database table columns to be retrieved as arrays easily.
Background information for running the database sample codes in this documentation.
Complete example demonstrating how to perform database queries and create charts .
Complete example demonstrating how to perform database queries and use the data to create two charts in the same web page.
This is a link to an example in the Clickable Charts
section. This example demonstrates creating clickable charts with data coming from a database.
© 2017 Advanced Software Engineering Limited. All rights reserved.