sree123

Compatible TreeMap version with 3.4 version

Recommended Posts

HI,

I'm using 3.4 licensed version fusion charts in my application to render fusion charts like column2d,  spline chart. 

I'm trying to implement tree map chart based on requirement. Data format required for treemap is proper, so no issue with data.  But, When I added 3.12 version fusion.treemap.js file in jsfolder of my application to implement treemap,

I'm getting "chart type not supported".

Please let me know, if its possible to use any other version  js file to implement treemap with 3.4 version js files.

or please let me know if there is any other alternative to do this.

Share this post


Link to post
Share on other sites

Hi,

 

The Treemap chart comes under the FusionCharts PowerCharts package, so you need to include the below JS files in your application to render a Treemap chart.

  • fusioncharts.js
  • fusioncharts.powercharts.js
  • fusioncharts.treemap.js

 

For further reference check the documentation link for the prescribed dataSource structure of FusionCharts Treemap chart :https://www.fusioncharts.com/dev/chart-guide/standard-charts/treemap

Please find a sample fiddle of Treemap chart using these JS files(current version - 3.13.1-sr.1) : http://jsfiddle.net/pgnub9t1/1/

 

The version 3.4.0 is a pretty old version as the current version is 3.13.1-sr.1 and there has been many architectural changes made in the core library.

So, we would suggest you to upgrade to the current version, as support is not available for 3.4.0 version.

 

Thanks,

Akash.

Share this post


Link to post
Share on other sites

HI Akash,

Thanks for the reply.

If I upgrade to latest version, I'm not sure how it impacts on existing charts. 

If I use the following js files of latest version (3.13.X) as mentioned by you.

  • fusioncharts.js
  • fusioncharts.powercharts.js
  • fusioncharts.treemap.js

Would these files would work in compatible with other 3.4 js files ?

Share this post


Link to post
Share on other sites

Hi,

 

The Treemap chart got introduced in 3.11.0 version of FusionCharts. It cannot be used when you are using any of the earlier version than 3.11.0.

Use the mentioned library files of FusionCharts version 3.13.1-sr.1 which is the current version to render Treemap chart.

Please note : 3.4.0 version does not support Treemap chart, hence it is not possible to render this chart using 3.4.0 version.

 

Please find a sample fiddle of Treemap chart using these JS files(current version - 3.13.1-sr.1) : http://jsfiddle.net/pgnub9t1/1/

Documentation of FusionCharts Treemap chart :https://www.fusioncharts.com/dev/chart-guide/standard-charts/treemap

 

Thanks,

Akash.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now