prabu2006it

MSSpline area charts with multiple data plots has conjested data labels

Recommended Posts

Hi ,

we are planning to migrate our charts from d3 to fusion charts. we are facing the below issues with multi series spline area charts.

Based on the requirement we will; be plotting more than 100 data in the graph and only show 3 to 5 x-axis labels  based on some criteria. Is there any way to explicitly force fusion chart to show only those labels in x-axis. I don't want to use labelDisplay options as my data labels will have a string length of 100 characters(minimum).

Please advise on this.

Thanks,

Prabu.G

Share this post


Link to post
Share on other sites

Hi Prabu,

 

Yes, you can selectively show the labels that you want to display on the chart by setting a configuration attribute explicitly within the data objects. Please refer to the sample below :

http://jsfiddle.net/shrv1wL6/4/

 

You need to set "showLabels" attribute to "0" at chart-level attribute to "0" for hiding all the x-axis labels,
and then set "showLabel" attribute to "1" within those "data" objects in the dataSource for which you want to show the labels on the chart.

 

Thanks,

Akash.

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