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.
Describes the architectural options of where to perform the database query (in
the HTML script or ChartDirector script), where to generate the chart, and how
to pass data in between.
Background information for running the database sample codes in this documentation.
Complete example demonstrating how to perform database queries and create charts in
the same script in a web environment.
Complete example demonstrating how to perform database queries in the containing HTML page, and
pass data to the ChartDirector scripts as HTTP query parameters.
This is a link to an example in the
Clickable Charts section. This example
demonstrates creating clickable charts with data coming from a database.
© 2004 Advanced Software Engineering Limited. All rights reserved.