Sign in to follow this  
Sno

generate html5 charts with php class

Recommended Posts

hello there!

 

I'm new to FusionCharts, so maybe ly question is silly, but i couldn't find out the solution.

 

What i want to achieve :

- generate a multiple series line chart (MSLine) in html5, from a extern xml datas file (with VLines, but that is not the heart of the issue)

 

What is my problem :

 - i'm trying to apply the tuto "Using FusionCHarts PHP class"  in the section "Creating a chart with external xml file", i'm studiying the code.

Aaaand there is: 
 

 

$FC->setSWFPath("../../FusionCharts/");

 

 

And i really don't want to create charts in swf. But there is nothing precised for html5/svg charts

 

is there any way to do that via the PHP Class? Or do i have to use another tool??

 

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum Post.

 

You can set the rendering mode of the charts through "setRenderer()" API using FusionCharts PHP class.

$FC= new FusionCharts("Column3D, "350", "250");
$FC->setRenderer('javascript');

Please refer for more information at: http://docs.fusioncharts.com/charts/contents/guide-for-web-developers/fusioncharts-php-class/Functions.html#osfunction

 

Hope this helps.

Share this post


Link to post
Share on other sites

Well, thank you Swarnam!
I'll try it out, i did not see it through the doc!
Hope it will helps me, but it already seem to do the job.

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