Creating Database driven Charts |
In the previous section, we had explained how FusionCharts can be used with server-side scripts. These scripts can, in turn, connect to databases, web services or other live data sources and provide dynamic data to FusionCharts. This enables you to use FusionCharts for real-time charting. It means whenever the chart is rendered, it gets the latest data from database and plots the same. FusionCharts works with all databases including MS SQL, Oracle, MySQL, PostgreSQL, CSV or even legacy data storage. Creating a chart using dynamic data from database involves following steps:
|
Different methods of providing dynamic data to charts |
Data can be provided to charts using following two methods:
Following illustrations provide an overview of each method: Data Url method Data String method |
Using different server side technologies for creating database driven charts |
In forthcoming sections, you will see how to create charts using dynamic data from database and using various server-side scripting languages. For quick reference, you may use the following links:
|