Sign in to follow this  
WebDevSarah

Json Attribute For Error Message Color

Recommended Posts

Hello FC!

My colleague and I have scoured the forum and documentation and haven't found the JSON attribute for error message color. We have a dark gray bg and the error message is barely visible. Any help would be greatly appreciated! We are hoping this is something we can modify! Attached please find the message we are referring to.

 

Thanks,

Sarah

post-24281-0-19639600-1332962985_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

Thank you for the post.

 

With regard to your query, I am afraid, FusionCharts does not support, changing of Font color for the error message as of now.

 

However you can change the background color of the chart while showing the error message by "configure()" function of the FusionCharts JavaScript API.

 

For more information on "Changing Chart Message > Set background Color of Chart when chart message are shown", please follow the link below:

http://docs.fusioncharts.com/charts/contents/?advanced/ChartMessages.html

 

Hope this helps!

Share this post


Link to post
Share on other sites

Hi,

 

:ph34r:

 

There is a kind of easter-egg :rolleyes: if you are using Flash charts!

 

You can use configure() function to set the color of the loading text using the "pbartextcolor" setting as shown in the example below:

 

  myChart.configure( "pbartextcolor", "00FF00");

 

The other similar settings are:

 

 


  •  
  • pbarheight
  • pbarbgcolor
  • pbarborderthickness
  • pbarbordercolor
  • pbarwidth
     

Share this post


Link to post
Share on other sites

Sudipto, that worked!!!!! Thank you so much :)

 

Hi,

 

:ph34r:

 

There is a kind of easter-egg :rolleyes: if you are using Flash charts!

 

You can use configure() function to set the color of the loading text using the "pbartextcolor" setting as shown in the example below:

 

  myChart.configure( "pbartextcolor", "00FF00");

 

The other similar settings are:

 

 

  • pbarheight
  • pbarbgcolor
  • pbarborderthickness
  • pbarbordercolor
  • pbarwidth

 

 

 

Thanks,

Sarah

Edited by WebDevSarah

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

We are glad to hear that the solution provided by Sudipto has resolved your issue.:D

 

Sudipto, that worked!!!!! Thank you so much :)

 

 

 

 

 

Thanks,

Sarah

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