Package org.jCharts.types
Class ChartType
- java.lang.Object
-
- org.jCharts.types.IntType
-
- org.jCharts.types.ChartType
-
- All Implemented Interfaces:
java.io.Serializable
public class ChartType extends IntType
Chart IntType constants to be used on data sets to specify how they should be plotted.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ChartType
AREA
static ChartType
AREA_STACKED
static ChartType
BAR
static ChartType
BAR_CLUSTERED
static ChartType
BAR_STACKED
static ChartType
LINE
static ChartType
POINT
static ChartType
SCATTER_PLOT
private boolean
stackedData
static ChartType
STOCK
-
Constructor Summary
Constructors Modifier Constructor Description private
ChartType(int typeCode, boolean stackedData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(ChartType chartType)
Returns flag indicating whether passed ChartType is equal to this oneboolean
isStacked()
Returns flag indicating whether chart type has stacked data
-
-
-
Field Detail
-
BAR
public static final ChartType BAR
-
BAR_CLUSTERED
public static final ChartType BAR_CLUSTERED
-
BAR_STACKED
public static final ChartType BAR_STACKED
-
LINE
public static final ChartType LINE
-
POINT
public static final ChartType POINT
-
AREA
public static final ChartType AREA
-
AREA_STACKED
public static final ChartType AREA_STACKED
-
STOCK
public static final ChartType STOCK
-
SCATTER_PLOT
public static final ChartType SCATTER_PLOT
-
stackedData
private boolean stackedData
-
-
Method Detail
-
isStacked
public boolean isStacked()
Returns flag indicating whether chart type has stacked data- Returns:
- boolean
-
equals
public boolean equals(ChartType chartType)
Returns flag indicating whether passed ChartType is equal to this one- Returns:
- boolean
-
-