Comment / Note in a JFree Chart
I am looking for a way to insert a specific开发者_如何学运维 comment / note in an image created by JFree Chart. The note can be anywhere on the image (png), above or below the chart.
Is there a way to do this?
To add text, addSubtitle()
is a common approach, and TextTitle
is a convenient implementation of the Title
interface.
If you want to create a comment or not on Image itself... you can do this with the use of Marker
.
If you want something below the image/graph use the LegendItemCollection
.
精彩评论