Sign in to follow this  
Helio

Php Class On Fusionwidgets

Recommended Posts

Hi,

 

I'm trying to use the Beta php class for fusionwidgets on this post:

http://forum.fusionc...-fusionwidgets/

 

This is the code:

 

<script language='javascript' src='FusionCharts/FusionCharts.js'></script>

 

<?php

# Include FusionCharts PHP Class

include("FusionCharts_Gen.php");

 

# Create MSLine chart Object

$FW = new FusionCharts("Thermometer","80","300");

# set the relative path of the swf file

$FW->setSWFPath("widgets/");

 

$strParam="palette=4;lowerLimit=0;upperLimit=10;numberSuffix=C";

$FW->setChartParams($strParam);

$FW->addChartData(5);

 

$FW->renderChart();

?>

 

It displays all ok but does not seem to assume the value I define in "$FW->addChartData(5);"

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

Could you please elaborate your query a bit more?

 

It would be helpful, if you could send us a screenshot or any live link of your requirement.

 

Awaiting for your response.

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