box « Legend « JFreeChart Q&A





1. Creating a custom legend box    jfree.org

img831.imageshack.us/img831/9568/whatiwantr.png (Substitute label for legend in the picture - I confuse the two) I would like to create a one-column stacked barchart, but where the legend for each bar is situated to the left of each bar and aligned with the center of each bar. I can so far only create the normal legend box, but I do not know how ...

2. An title for the legend box    jfree.org

Hi, I would like to add a label above to the legend box, something like: "Legend for xxxxx:". This label has to be displayed above of the legend border box. I tried to add a subtitle and change its XY position, but at end the subtitle was displayed with the other ones at the top of the chart. In other words, ...

4. Show legend as a filled box instead of a line    jfree.org

Hello, I produce XYPlots where the data is presented via XYLineAndShapeRenderer and it works great. The only think is that the legend is also displayed as a line, and it is quite difficult to "read" the different colors (ex: black and blue looks almost identical given that the line is only 1-pixel thin). So I'd like to still display my data ...