jfree / jfreechart

A 2D chart library for Java applications (JavaFX, Swing or server-side).
http://www.jfree.org/jfreechart/
GNU Lesser General Public License v2.1
1.22k stars 462 forks source link

how to mark the value what i set on axis? #293

Closed Jungle92 closed 2 years ago

Jungle92 commented 2 years ago

i want to mark some value on the axis .just like this:

a

but i can not find any API to resolve it.

trashgod commented 2 years ago

I don't know how to mark the axis itself; in the alternative, you might consider one of the org.jfree.chart.annotations or a suitable org.jfree.chart.plot.Marker. As suggested here, review the sample gallery, cited here, for ideas; report any issues you encounter here. For broader guidance, consider posting in the discussions area.

Jungle92 commented 2 years ago

I don't know how to mark the axis itself; in the alternative, you might consider one of the org.jfree.chart.annotations or a suitable org.jfree.chart.plot.Marker. As suggested here, review the sample gallery, cited here, for ideas; report any issues you encounter here. For broader guidance, consider posting in the discussions area.

ok,thank u