anirbansarkar

Outcnvbasefontcolor Not Working

Recommended Posts

Dear All,

 

I am using the undergiven snippet of code to change the font colour of text in the chart canvas but it is not working. The snippet of code follows :

 

//******CODE STARTS*******

 

$strParam="caption=NON CASHOFFICE WISE COLLECTION ($prestyr-$preendyr AND $curstyr-$curendyr);subcaption=;xAxisName=SERVICE PROVIDER;yAxisName=AMOUNT(IN CR);showValues=1;sNumberSuffix= U;formatNumberScale=0 outCnvBaseFontColor='750A34' ";

 

 

//******CODE ENDS*********

 

The chart type is MSColumn3D.

 

Thanks and regards!!!

Share this post


Link to post
Share on other sites

Hi Anirban,

 

Please make sure you are providing the attributes in the format the FusionCharts PHP Class requires for params. It seems there is a mistake:

 

You have used: "... ;formatNumberScale=0 outCnvBaseFontColor='750A34' ";

 

Shouldn't it be:

 

"... ;formatNumberScale=0;outCnvBaseFontColor=750A34";

 

* Please mark the semi-colon aftrer formatNumberScale=0

* Please also mark that the colors are not inside single quotes.

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