Sign in to follow this  
Saad

Setchartparams Not Working With Many Attributes

Recommended Posts

Hello,,

 

I am using FUSIONCHARTS API PHP CLASS...

on using setChartParam or setChartParams .. it works with some attributes, and doesn't work with many others..

works with things like: caption, subCaption, xAxisTitle

doesn't work with palette colors, borders, and most of attributes ...

 

my code is like this:

 



       $strParam = "paletteColors=FFFFFF;caption=hamada1;interactiveLegend=0;showValues=0;bgColor=f2fec0;showPlotBorder=1";
       $this->load->library("FusionCharts");
       $FC = new FusionCharts("MSColumn3D", "1000", "300", "a2", "opaque");
       $FC->setSwfPath("./media/charts/");
       $FC->setChartParams($strParam);

 

 

 

I really can't understand the problem and now I am not able to make any customization to the chart ...

Is there any help ??

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

Thank you for the post.

 

With regard to your issue, the setChartParams(); method of FusionCharts PHP Class, is working fine for all the <chart> attributes like: "paletteColors" and "showPlotBorder".

 

Please find the attached screen shot for the same.

 

Please note that, using the setChartParam() or setChartParams() functions you can provide all the attributes of the <chart> element only.

 

Hope this helps!

post-23588-0-99508400-1334569970_thumb.png

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