You are viewing documentation for an older version. For current documentation - click here.

Installation of FusionCharts merely involves copying and pasting the SWF files and the JavaScript files from the package into any of your folders.

Installing FusionCharts for your web application

Installation of FusionCharts for your web application is just a two-step affair:

  1. Create a folder named FusionCharts in the root of your application (though, it's not mandatory to name the folder as FusionCharts or create it under the root folder. However, it organizes things a lot more, as all the pages within your website can now access the common set of charts).
  2. Copy all the SWF files from Download Package > Charts folder and paste it in FusionCharts folder.

Installation Complete - Yes, there's no more step involved. You're now ready to use FusionCharts in your web application, which we will soon see.

Installing FusionCharts on your local machine for general charting

If you want to create charts on your local machine, follow the steps below:

  1. Create a folder named FusionCharts inside your working folder. Again note that, it's not mandatory to name the folder as FusionCharts or create it as a new folder. However, doing this way organizes things a lot more.
  2. Copy all the SWF and JavaScript files from Download Package > Charts folder and now paste it in FusionCharts folder.
  3. To enable communication between charts and JavaScript (like updating data, retrieving data, printing, exporting, event handling etc.) in your local machine, you need to setup Flash Player Global Security settings.

Note that setting up of Flash Player Global Security Settings is only required when you show the charts from your local file system. This is not required when the charts are displayed from a server (either localhost or remote).
Click here to learn more on how to configure Flash Player security settings »

You can manipulate the settings from Adobe Flash Player Settings Manager in the Global Security Settings panel. It can be done in four simple steps:
  1. Select the "Always allow" radio button on the top to allow security exceptions. This control is marked as "1" in the image below.
  2. From the Edit Locations... drop down box, select "Add location..." option to bring up a dialog box. The drop down box is marked as "2" in the image below.
  3. Now select Browse for folder... and browse to the location where you are keeping the chart SWF files.
  4. After confirming your selection you should see the path of the exception added in area "3" of the image below.

Installation Security Settings

In case you wish to do this settings offline, you can ease this process by running a script file from the folder where you have kept the chart SWF files. Go to How to setup Flash Player Global Security Settings? page.

That completes the installation for FusionCharts. Now, all you need to do is build your XML or JSON data and HTML page, which we'll see in the next section.