Package org.jCharts.properties
Class PointChartProperties
java.lang.Object
org.jCharts.properties.ChartTypeProperties
org.jCharts.properties.AxisChartTypeProperties
org.jCharts.properties.PointChartProperties
- All Implemented Interfaces:
HTMLTestable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPointChartProperties
(Shape[] shapes, boolean[] fillPointFlags, Paint[] outlinePaints) Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFillPointsFlag
(int index) getPointOutlinePaints
(int index) 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.Methods inherited from class org.jCharts.properties.AxisChartTypeProperties
addPostRenderEventListener, addPreRenderEventListener, firePostRender, firePreRender
-
Field Details
-
DEFAULT_POINT_BORDER_STROKE
-
SHAPE_SQUARE
-
SHAPE_TRIANGLE
-
SHAPE_CIRCLE
-
SHAPE_DIAMOND
-
shapes
-
fillPointFlags
private boolean[] fillPointFlags -
outlinePaints
-
-
Constructor Details
-
PointChartProperties
Constructor- Parameters:
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.
-
-
Method Details
-
getFillPointsFlag
public boolean getFillPointsFlag(int index) -
getPointOutlinePaints
- Parameters:
index
-- Returns:
- Paint
-
getShape
- Parameters:
index
-- Returns:
- Shape
-
toHTML
Enables the testing routines to display the contents of this Object.- Parameters:
htmlGenerator
-
-
validate
Validates the properties.- Specified by:
validate
in classAxisChartTypeProperties
- Parameters:
iAxisPlotDataSet
-- Throws:
PropertyException
-