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

0

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
13
Joined: Jul 30 2015 - 3:51am
Last seen: 4 years 3 days ago

4 Answers:

0

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: 2 years 3 months ago
0

Yes in Tooltip i got the % symbol.

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

Lorina's picture
13
Joined: Jul 30 2015 - 3:51am
Last seen: 4 years 3 days ago
1

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
531
Joined: Nov 19 2014 - 11:02pm
Last seen: 3 years 3 months ago
0

Yes it worked.

Thank you.

Lorina's picture
13
Joined: Jul 30 2015 - 3:51am
Last seen: 4 years 3 days ago
Feedback