public final class PointChartProperties extends AxisChartTypeProperties
Modifier and Type | Field and Description |
---|---|
static Stroke |
DEFAULT_POINT_BORDER_STROKE |
private boolean[] |
fillPointFlags |
private Paint[] |
outlinePaints |
static Shape |
SHAPE_CIRCLE |
static Shape |
SHAPE_DIAMOND |
static Shape |
SHAPE_SQUARE |
static Shape |
SHAPE_TRIANGLE |
private Shape[] |
shapes |
Constructor and Description |
---|
PointChartProperties(Shape[] shapes,
boolean[] fillPointFlags,
Paint[] outlinePaints)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
getFillPointsFlag(int index) |
Paint |
getPointOutlinePaints(int index) |
Shape |
getShape(int index) |
void |
toHTML(HTMLGenerator htmlGenerator)
Enables the testing routines to display the contents of this Object.
|
void |
validate(IAxisPlotDataSet iAxisPlotDataSet)
Validates the properties.
|
addPostRenderEventListener, addPreRenderEventListener, firePostRender, firePreRender
public static final Stroke DEFAULT_POINT_BORDER_STROKE
public static final Shape SHAPE_SQUARE
public static final Shape SHAPE_TRIANGLE
public static final Shape SHAPE_CIRCLE
public static final Shape SHAPE_DIAMOND
private Shape[] shapes
private boolean[] fillPointFlags
private Paint[] outlinePaints
public PointChartProperties(Shape[] shapes, boolean[] fillPointFlags, Paint[] outlinePaints)
shapes
- the Shapes to use for each DataSet drawn in this chart. There must
be an one to one mapping of Shape objects and DataSets in the chart.fillPointFlags
- flags indicating whether to fill the point Shapes or to only outline them
using the Paint specified on the DataSet object. If this is set to TRUE, the 'outlinePaint'
attribute can be used to outline the Shape.outlinePaints
- Sets the outline Paint to use for each Shape in the chart. This Paint is
only used if the 'setFillPointsFlag' is set to TRUE for the Shape.public boolean getFillPointsFlag(int index)
public Paint getPointOutlinePaints(int index)
index
- public Shape getShape(int index)
index
- public void toHTML(HTMLGenerator htmlGenerator)
htmlGenerator
- public void validate(IAxisPlotDataSet iAxisPlotDataSet) throws PropertyException
validate
in class AxisChartTypeProperties
iAxisPlotDataSet
- PropertyException