Jump to content
JasperReports Library 7.0 is now available ×

Formatting Chart Label - Too many decimal places


Athlon

Recommended Posts

Applied this to the advanced tab on the chart format pallette

series.dataLabels.enabled    {point.y:.2f}

On the mouseover for each column on the chart everything has 2 decimal places, yet on the chart itself a couple of columns have 6 and 14 decimal places.

How to ensure 2 decimal places on each column ? - any guidance appreciated.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Could you add screen shot. Not sure what you mean. 
Is it the actual values on X or Y access or the Z values. Or is it the values in the tooltip that is different. 

You could just format the data to display what you want: 
http://community.jaspersoft.com/questions/513034/how-change-decimal-and-thousand-separators. 

Or there are other properties in chart where you can change formatting for given objects.
http://api.highcharts.com/highcharts

Link to comment
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

×
×
  • Create New...