Java org.jfree.chart StandardLegend fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart StandardLegend fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart StandardLegend.

The text is from its open source code.

Constructor

StandardLegend()
Constructs a new legend with default settings.
StandardLegend(JFreeChart chart)
Creates a new legend.

Method

voidsetBackgroundPaint(Paint paint)
Sets the background paint for the legend and sends a LegendChangeEvent to all registered listeners.
voidsetDisplaySeriesLines(boolean flag)
Sets a flag that controls whether or not the legend displays the series line stroke.
voidsetDisplaySeriesShapes(boolean flag)
Sets a flag that controls whether or not the legend displays the series shapes.
voidsetOutlinePaint(Paint paint)
Sets the outline paint and sends a LegendChangeEvent to all registered listeners.
voidsetPreferredWidth(double width)
Sets the preferred width of the legend bounding box.
voidsetShapeScaleX(double factor)
Sets the x scale factor for shapes displayed in the legend and sends a LegendChangeEvent to all registered listeners.
voidsetShapeScaleY(double factor)
Sets the y scale factor for shapes displayed in the legend and sends a LegendChangeEvent to all registered listeners.