Hi all!
I have created my own renderer in JFreeChart (extending XYLineAndShapeRenderer) to draw images at the given locations on the chart
This works well
But the legend shows a default red box next to the series name. Does anyone know how to override this functionality to draw a small version of my image in the legend instead?
I am guessing I need to extend LegendGraphic at some point, but I cannot see where I should fit this in...
Cheers
Tim
Start Free Trial