How can i show values with percentage symbol, as display labels in column chart(HTML5)?

As i have to choose  an integer data type in measure value field , in display value label it is also coming as same style.

(I used plotOptions.series.dataLabels.enabled for showing labels ,which takes data from measure value field)

I can't  append a  '%' symbol as it is an integer data type.(I can't use String data type as it may disturb the calculation) 

Is there any methods or formats which will show % value? 

Lorina's picture
155
Joined: Jul 30 2015 - 3:51am
Last seen: 7 years 5 months ago

4 Answers:

hi

Right click on the report properties and then got to Tooltip in that you can see a option value Suffix in that you can give %.

Thanks

B Rama Krishna

RamaKrishna.B's picture
Joined: Nov 24 2013 - 2:12am
Last seen: 5 years 9 months ago

Yes in Tooltip i got the % symbol.

But on data labels also i need to show  values with %.

Lorina's picture
155
Joined: Jul 30 2015 - 3:51am
Last seen: 7 years 5 months ago

Try to add the keys below in advance options on the chart options.

plotOptions.series.dataLabels.enabled: true
plotOptions.series.dataLabels.format: "{y} %"
 
 
jaspersoft use highcharts for HTML5 charts. You can find more advanced options if you checkout the highcharts api. 

 

zh3ntil's picture
3257
Joined: Nov 19 2014 - 11:02pm
Last seen: 6 years 8 months ago

Yes it worked.

Thank you.

Lorina's picture
155
Joined: Jul 30 2015 - 3:51am
Last seen: 7 years 5 months ago
Feedback