modify « Legend « JFreeChart Q&A





1. how to modify legend Item appearence dynamically    jfree.org

I obtain the x,y localisation of my legend item and i would like to show it as selected. so i draw a fill rectangle on the legendItem, but the problem is to repaint it with the chart. Is there any way to force the font of a single legendItem in bold or to force an element of the chartPanel to be ...

2. modify the legend of the chart    jfree.org

4. Modifying legend    jfree.org

I'm creating a time series chart. When I print the chart I verify if the printer is black and white. If so, I change the curves to a dash dot pattern. My problem is that the legend does not seem to have enough room to show the pattern. How can I change this? I can't seem to figure out how to ...