Changing chart at client side |
Using a combination of FusionCharts and JavaScript, you can simulate of process of dynamic chart type change at client side, without involving any page refreshes. That is, at client side, you can change chart type, from say column chart to pie chart or line chart, and provide it same or new data, without refreshing the page. We do the same using the following concepts:
Let's quickly see this in an example. This example is present in Download Package > Code > ChartChange > ChartChange.html. |
Code in ChartChange.html |
ChartChange.html contains the following code: |
<HTML> |
As you can see above, here we're doing the following:
|