How to display chart values in HTML5 charts



A created a Line Chart using HTML5 charts in Jasper Server 5.2.0.

I want chart values to be displayed pemanently into the chart and not just when I place my mouse cursor into it (tooltip).

Can anyone suggest me, what properties do I have to set or how it can be done?


Anurag Sinha

sinha.anurag84's picture
Joined: Jul 19 2013 - 12:24am
Last seen: 5 years 10 months ago

1 Answer:

This should do it: plotOptions.line.dataLabels.enabled = Boolean.TRUE
ernestoo's picture
Joined: Nov 29 2010 - 11:59am
Last seen: 2 years 10 months ago

Thanks a lot, It worked.
I also need '%' sign along with the value.
Currently values are getting displayed as 50.25, I need it to be displayed as 50.25 %.

Anurag Sinha

sinha.anurag84 - 6 years 2 months ago