Sign in to follow this  
abdfahim

Use Data URL Method in Fusion chart 3.4.x

Recommended Posts

Hi,

 

I cannot find the way to invoke data URL method with 3.4.x (with php) in documentation. Can you please let me know whether the functionality is deprecated or not? If not, what is the difference in coding with old 3.3.x versions and where I can find it in documentation?

 

Thanks,

Share this post


Link to post
Share on other sites

Also, can you please tell me why I cannot give my own preffered id to a chart

 

FusionCharts.ready(function () {
var myChart = new FusionCharts({
   "type": "column2d",
   "id": "myownid",
   "renderAt": "mydiv",
   "width": w,
   "height": h,
   "dataFormat": "xml",
   "dataSource": "<chart></chart>"
});
myChart.render();
});

Share this post


Link to post
Share on other sites

Hi,


 


The URL method in Version 3.4.x (with PHP) is not included in the documentation as of now. And of course the URL method functionality is not deprecated in the current version. It can be used similarly as was used in the previous versions. For reference you can go through the link below for FusionCharts URL methods.  http://docs.fusioncharts.com/charts/contents/guide-for-web-developers/php/PHP_BasicExample.html


 


As for using id to a chart, you can use any preferred id for your choice. Just make sure that if you are using multiple charts in the same HTML page, each chart should have a unique id and should not start the ID with a numerical value, nor use space as part of the id.


 


Thanks.


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
Sign in to follow this