RayHopefield
RayHopefield

Reputation: 45

How to show unit on bar chart range axis

I am new in jasper report. I am trying to create a bar chart graph that display unit on range axis, just like attached picture. By default data value will be shown on Y axis without unit. Is it possible? I tried to use chart customizer but cannot find property that would help. Any help would be appreciate.

bar chart with unit on range axis bar chart with unit on range axis

Upvotes: 2

Views: 406

Answers (1)

samabcde
samabcde

Reputation: 8114

Suppose you want to convert number to percentage,

edit the Chart Plot Properties -> Value Axis Tick Label Mask with #%.

Which will change the number to percentage (e.g. 0.1 -> 10%).
In addition, you can change '%' to 'cm', 'Mb' or something else for different unit. Chart value axis unit configuration

Upvotes: 1

Related Questions