I have chart.png with data in it that I would like to put a simple X – Y axis on with some labeling. I also would like to try not to use any external software that doesn’t come with java. I’m allowed to use jfreechart but if there is a way to make it look nice, while just using some plan java code, that would be better. Does anyone have a good idea about how to do this sort of thing?
Update: Something like this but the data would be color coded with rgb values and of course there would be no axis / labeling.

(source: goldb.org)
This graph is just an example it looks nothing like what my actual graphs look like… My real graphs can have every rgb color value in them. I know how to create the plot, I just don’t know how to put axis / labeling on the BufferImage that I’ve created
I don’t think modifying a static image will work very well, as it will inevitably lead to registration errors and mismatched styles. Instead, integrate any rendering into the chart’s creation. Using the approach outlined here, the sscce below illustrates a few of the ways to customize the rendered shapes, colors and axes as desired.
Addendum: To color individual items, the API recommends the approach shown here, in which a custom renderer overrides
getItemPaint().Color.getHSBColor()is used to create a full spectrum of colors.Here is the original, default renderer for comparison: