JavaScript Charting capabilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Starting FusionCharts v3.2, you can now render the charts on devices like iPhone/iPad using the in-built JavaScript rendering capabilities, powered by Highcharts library. The charts rendered by this module are purely JavaScript based and do not need Flash Player at all. FusionCharts license agreement includes a license for HighCharts, and as such you do not need to license it separately. FusionCharts gives you the option of either using automatic fallback, wherein the charts figure out the best mode of rendering (either Flash or JavaScript, based on availability of Flash Player), or lets you configure whether to render charts exclusively using JavaScript. If you are already using FusionCharts and wish to add iPad/iPhone fallback, you just need to replace the old SWF and JS files with the new ones - without changing a single line of code. In case you wish to render JavaScript based charts only, irrespective of whether Flash Player is installed or not, all you need to do is add a single line of code to your existing implementation. This has been covered in forthcoming sections. Meanwhile, let's take a small overview of FusionCharts JavaScript based charting capabilities. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
How it works? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FusionCharts v3.2 features a completely new FusionCharts JavaScript class. FusionCharts JavaScript class now consists of three main files: FusionCharts.js, highcharts.js and jquery.min.js. These three files are present in Download Pack > Charts folder. Although you only need to include FusionCharts.js in your web page, highcharts.js and jquery.min.js must be present in the folder that contains FusionCharts.js. FusionCharts.js dynamically loads the other JavaScript on-demand (i.e., if and when needed). Once FusionCharts class determines that the device is iPad/iPhone, it automatically switches the rendering mode to JavaScript. You can also forcefully set the rendering method to JavaScript from your code. Additionally, you can setup the charts to render as JavaScript charts whenever Flash Player is not installed for the browser. You just need to call FusionCharts._fallbackJSChartWhenNoFlash() before you render a chart. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Chart types supported | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Given below is the list of chart types supported by the FusionCharts JavaScript renderer:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Limitations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
As of now, the FusionCharts JavaScript renderer has the following limitations:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||