How can I put values of a charline in y axis

0

How can I put just the values of my linechart in the y axis

The values are 22,21,23,25,19. And I want to show all the values in y axis, not only 20,25

My linechart looks like this

enter image description here

And I want to show values in y axis, like that

enter image description here

maycarb's picture
Joined: Jan 24 2019 - 4:02pm
Last seen: 1 month 2 weeks ago

1 Answer:

0

For JFreeChart, you can try setting this property:

net.sf.jasperreports.chart.range.axis.tick.interval to 2 as it defines the interval between two consecutive ticks.

vchiem's picture
3577
Joined: May 1 2017 - 5:33pm
Last seen: 2 days 8 hours ago
Feedback