item « Legend « JFreeChart Q&A





2. suppressing legend item    jfree.org

3. Possible to reorder legend items?    jfree.org

Re: Possible to reorder legend items? by marcoamball@virgilio.it Tue Oct 18, 2005 12:20 pm bpmericle wrote:I want to know if it is possible to reorder the legend items regaurdless of the order that I have added datasets to my plot. I do this: public class XYPlot extends Plot implements ValueAxisPlot, Zoomable, RendererChangeListener, Cloneable, PublicCloneable, Serializable { ................. /** The legend ...

4. Legend item separation    jfree.org

5. Legend Item    jfree.org

6. showing the legend item together with the item    jfree.org

hi everbody, I've made my own solution for this problem, but its not working fine, the is following Code: Select all final XYSeriesCollection serieCollect = new XYSeriesCollection(); final XYSeries[] serie = new XYSeries[5]; final XYTextAnnotation[] annotation = new XYTextAnnotation[serie.length]; ...

7. Longer legend items?    jfree.org

The lines provided in the legend items for XYPlot are extremely short. That's fine I guess if you're distinguishing by color, but if you're printing the chart in a publication, you need rather longer lines to distinguish between dashing etc. Also if you make thicker lines in the chart, the legend lines thicken but do not have sufficient distance from the ...

8. Duplicate items in legend.    jfree.org

I have used plot.setRangeAxis(), plot.setRenderer() and plot.setDataset() to overlay several graphs on the same chart. The problem is that the same items appear in the legend. Once for every call to setDataset(). I would like to display the legend but I would like to merge the items displayed in the legend. Is there a method of dealing with this? -kproctor

9. Multi Line Legend Item Problem    jfree.org

This patch sets the alignment to LEFT: Code: Select all Index: source/org/jfree/chart/block/LabelBlock.java =================================================================== RCS file: /cvsroot/jfreechart/jfreechart/source/org/jfree/chart/block/LabelBlock.java,v retrieving revision 1.8.2.4 diff -u -r1.8.2.4 LabelBlock.java --- source/org/jfree/chart/block/LabelBlock.java 4 Aug 2006 11:47:23 -0000 1.8.2.4 +++ source/org/jfree/chart/block/LabelBlock.java 4 Oct 2006 14:28:37 -0000 @@ -62,6 +62,7 @@ import org.jfree.text.TextBlock; import org.jfree.text.TextBlockAnchor; import org.jfree.text.TextUtilities; +import org.jfree.ui.HorizontalAlignment; import org.jfree.ui.Size2D; import org.jfree.util.ObjectUtilities; import ...





10. Equal legend items in CombinedRangeXYPlot (with running demo    jfree.org

Equal legend items in CombinedRangeXYPlot (with running demo by tomkieffer Thu Dec 13, 2007 9:29 am In my CombinedRangeXYPlot all legend items are equal (to the series name of the last series added). I created the very simple demo below to reproduce what I mean. Either I have a really stupid error in my code that I can't see or ...

11. Using a gif for a legend item?    jfree.org

12. Strange problem with the legend Items    jfree.org

Hello everyone, My data in the bar chart is displaying correctly but, everytime I open the chart the kind of display is different. e.g. if I have 5 items to display Item A 50 sec pink Item B 100 sec green Item C 10 sec red Item D 58 sec yellow Item E 82sec blue such that Firstly Item A is ...

13. Legend item for a range marker    jfree.org

15. A question about the Legend Items    jfree.org