How to upgrade fusioncharts to v3.4

Source: Internet
Author: User
Tags browser cache

This article applies to earlier versions that are still using the fusioncharts series products (such as v3.0.x ~ V3.3.x.

What changes have taken place?
  • Since v3.4, the file name and Package Structure of the Javascript class library file of fusioncharts have changed. In addition, all file names are now in lower case to prevent conflicts on case-sensitive servers.
  • Fusioncharts significantly accelerates the rendering of charts and fixes memory leakage.
  • All charts are now rendered in Javascript only. The Flash chart is not upgraded (not available by default). You do not need to specify whether to render the chart through flash or Javascript. If you have explicitly specified using flash for rendering in the application, you need to remove the code.
  • Stop using the <style> element and replace it with the attribute of the <chart> element.
  • Removed jquery dependencies.

Original file name New File Name
Fusioncharts. js fusioncharts. js
Fusioncharts. hc. JS is no longer needed
Fusioncharts. hc. charts. js fusioncharts. charts. js
Fusioncharts. hc. Maps. js fusioncharts. Maps. js
Fusioncharts. hc. Widgets. js fusioncharts. Widgets. js
Fusioncharts. hc. Gantt. js fusioncharts. Gantt. js
Fusioncharts. hc. powercharts. js fusioncharts. powercharts. js
Fusionchartsexportcomponent. js no longer needed
Jquery. Min. JS is no longer needed

Files ending with HC. js are no longer needed, because all charts are generated using JavaScript.



Upgrade procedure
1. Copy the following files from the JS folder of the downloaded official version file to replace the files in the fusioncharts folder in your application.
Fusioncharts. charts. js
Fusioncharts. js
Fusioncharts. powercharts. js
Fusioncharts. Gantt. js
Fusioncharts. Maps. js
Fusioncharts. Widgets. js
2. According to the fusioncharts product you are using, you need to modify the include path based on the updated file name. Note that these new files cannot be simply renamed as old files.
3. the browser cache must be cleared. This is very important.

You have upgraded to the latest version of fusioncharts!

Only upgrade individual products
If you only need to upgrade some fusioncharts products, the following are related tips:

1. fusioncharts XT: To upgrade fusioncharts XT, You need to copy fusioncharts from the JS folder. charts. JS and fusioncharts. JS to your working directory, and modify the include path in your source code to include these files.
2. powercharts XT: To upgrade powercharts XT, You need to download the latest powercharts XT package and copy fusioncharts from the JS folder. charts. JS and fusioncharts. JS to your working path, and modify your own source code include statement.
3. fusionwidgets XT: similar to this, you need to copy fusioncharts from the JS folder. JS and fusioncharts. widgets. JS and fusioncharts. gantt. JS to your working path, and modify your own source code include statement.
4. fusionmaps XT: For fusionmaps XT, You need to copy fusioncharts from the JS folder. maps. JS, and copy the map corresponding to the map you use from the maps folder to define the JS file to your working path, and modify the include statement of your source code.

Later I will introduce what features v3.4 has abandoned, which are mainly related to flash charts.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.