Sign in to follow this  
Guest Basundhara Ghosal

changing font for each data group

Recommended Posts

So I am currently creating the combination chart and have labels on each of the point and bar. I am wondering whether there is a way to format the font differently for each set of data. Right now, I have the bar chart which shows the datavalue on top of it. I also have a trendline that has datavalues on some points. I want to format the two datavalues differently.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Welcome to FusionCharts forum. :D

In case you wish to customize the font properties of the datavalues, please try applying 'Styles' on the 'font' attribute on the 'datavalue' object.

Ref.- http://www.fusioncharts.com/docs?/Styles/Font.html

In case you wish to customize the font properties of the trendline values, please try using the attributes 'color' etc in the <trendline> element.

Ref.- http://www.fusioncharts.com/docs?/AttDesc/Trend.html

Hope this helps.

Share this post


Link to post
Share on other sites

thank you very much for replying but right now I am using php to extract my data and pass it to the FusionCharts class. The graph that I have is very similar to the one shown

 

 

 

http://www.fusioncharts.com/docs/Contents/PHPClassAPI/CombinationChart.html

 

 

 

Basically I have data values on both the blocks and the trend line and they overlap each other which makes the graph datavalues kind of unclear. I want to format them differently or (if possible) move the position of the datavalues.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Thanks for your appreciation.

Could you please send us the sample code that you are using, as an attachment?

Also, could you please send us the screen-shot of the error that you are receiving?

Awaiting your reply.

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