Harry has set up a quick weekly audit process for three departments in his SuperMart. Positive move indeed! But, what use is an audit if there is no report at the end of it all? Thus, on came the request to set up a page just for this.
It quickly dawned upon us that we would need to make the audit report more useful than if it were merely displaying a set of charts. We will add functionalities to the page that will make his report viewing experience more comprehensive during daily use. "More comprehensive" means ensuring the charts load really fast, be seamlessly printed, and have the ability to easily copy the data to spreadsheets.
For adding these functionalities we will make use of JavaScript capabilities of FusionCharts.
In this chapter, we shall:
Access charts using JavaScript
Learn how to use JavaScript events raised by the charts
Dynamically update a chart's data without reloading the page or the chart
Retrieve data from a chart in XML, JSON, and CSV formats...