public class ChartTypeCharacterizer
extends java.lang.Object
Helper for getting additional information about charts and series by its ChartType.
Constructor and Description |
---|
ChartTypeCharacterizer() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasSeriesTrendLines(int seriesType)
Returns if there are series trend lines for specified series type.
|
static boolean |
is2DChart(int chartType)
Return true if
chartType is one of 2D chart types. |
static boolean |
is3DChart(int chartType)
Return true if
chartType is one of 3D chart types. |
static boolean |
isBar3DChart(int chartType)
Return true if chartType is one of bar3DChart subtypes (3D columns or bars).
|
static boolean |
isChartTypeArea(int chartType)
Return true if chartType is one of Area subtypes.
|
static boolean |
isChartTypeBar(int chartType)
Return true if chartType is one of Bar subtypes.
|
static boolean |
isChartTypeBubble(int chartType)
Return true if chartType is one of Bubble subtypes.
|
static boolean |
isChartTypeColumn(int chartType)
Return true if chartType is one of Column subtypes.
|
static boolean |
isChartTypeDoughnut(int chartType)
Return true if chartType is one of Doughnut subtypes.
|
static boolean |
isChartTypeLine(int chartType)
Return true if chartType is one of Line subtypes.
|
static boolean |
isChartTypePie(int chartType)
Return true if chartType is one of Pie subtypes.
|
static boolean |
isChartTypeRadar(int chartType)
Return true if chartType is one of Radar subtypes.
|
static boolean |
isChartTypeScatter(int chartType)
Return true if chartType is one of Scatter subtypes.
|
static boolean |
isChartTypeStock(int chartType)
Return true if chartType is one of Stock subtypes.
|
static boolean |
isChartTypeSurface(int chartType)
Return true if chartType is one of Surface subtypes.
|
static boolean |
isErrorBarsXAllowed(int seriesType)
Returns if error bars X allowed for specified series type.
|
static boolean |
isErrorBarsYAllowed(int seriesType)
Returns if error bars Y allowed for specified series type.
|
static boolean |
isSeriesUsesBubbleSizeCoordinate(int seriesType)
Returns if bubble size coordinates can be used for specified series type.
|
static boolean |
isSeriesUsesValueCoordinate(int seriesType)
Returns if specified series type uses value coordinates.
|
static boolean |
isSeriesUsesXValueCoordinate(int seriesType)
Returns if specified series type uses X value coordinates.
|
static boolean |
isSeriesUsesYValueCoordinate(int seriesType)
Returns if specified series type uses Y value coordinates.
|
public static boolean isBar3DChart(int chartType)
Return true if chartType is one of bar3DChart subtypes (3D columns or bars).
public static boolean is2DChart(int chartType)
Return true if chartType
is one of 2D chart types.
public static boolean is3DChart(int chartType)
Return true if chartType
is one of 3D chart types.
public static boolean isChartTypeColumn(int chartType)
Return true if chartType is one of Column subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.ClusteredColumn
,
ChartType.ClusteredColumn3D
,
ChartType.ClusteredCone
,
ChartType.ClusteredCylinder
,
ChartType.ClusteredPyramid
,
ChartType.PercentsStackedColumn
,
ChartType.PercentsStackedColumn3D
,
ChartType.PercentsStackedCone
,
ChartType.PercentsStackedCylinder
,
ChartType.PercentsStackedPyramid
,
ChartType.StackedColumn
,
ChartType.StackedColumn3D
,
ChartType.StackedCone
,
ChartType.StackedCylinder
,
ChartType.StackedPyramid
,
ChartType.Column3D
,
ChartType.Cylinder3D
,
ChartType.Cone3D
,
ChartType.Pyramid3D
.
public static boolean isChartTypeLine(int chartType)
Return true if chartType is one of Line subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.Line
,
ChartType.LineWithMarkers
,
ChartType.PercentsStackedLine
,
ChartType.PercentsStackedLineWithMarkers
,
ChartType.StackedLine
,
ChartType.StackedLineWithMarkers
,
ChartType.Line3D
.
public static boolean isChartTypePie(int chartType)
Return true if chartType is one of Pie subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.BarOfPie
,
ChartType.ExplodedPie
,
ChartType.ExplodedPie3D
,
ChartType.Pie
,
ChartType.Pie3D
,
ChartType.PieOfPie
.
public static boolean isChartTypeBar(int chartType)
Return true if chartType is one of Bar subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.ClusteredBar
,
ChartType.ClusteredBar3D
,
ChartType.PercentsStackedBar
,
ChartType.PercentsStackedBar3D
,
ChartType.StackedBar
,
ChartType.StackedBar3D
,
ChartType.ClusteredHorizontalCone
,
ChartType.ClusteredHorizontalCylinder
,
ChartType.ClusteredHorizontalPyramid
,
ChartType.StackedHorizontalCone
,
ChartType.StackedHorizontalCylinder
,
ChartType.StackedHorizontalPyramid
,
ChartType.PercentsStackedHorizontalCone
,
ChartType.PercentsStackedHorizontalCylinder
,
ChartType.PercentsStackedHorizontalPyramid
.
public static boolean isChartTypeArea(int chartType)
Return true if chartType is one of Area subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.Area
,
ChartType.PercentsStackedArea
,
ChartType.PercentsStackedArea3D
,
ChartType.StackedArea
,
ChartType.StackedArea3D
,
ChartType.Area3D
.
public static boolean isChartTypeScatter(int chartType)
Return true if chartType is one of Scatter subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.ScatterWithMarkers
,
ChartType.ScatterWithSmoothLines
,
ChartType.ScatterWithSmoothLinesAndMarkers
,
ChartType.ScatterWithStraightLines
,
ChartType.ScatterWithStraightLinesAndMarkers
.
public static boolean isChartTypeStock(int chartType)
Return true if chartType is one of Stock subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.HighLowClose
,
ChartType.OpenHighLowClose
,
ChartType.VolumeHighLowClose
,
ChartType.VolumeOpenHighLowClose
.
public static boolean isChartTypeSurface(int chartType)
Return true if chartType is one of Surface subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.Surface3D
,
ChartType.WireframeSurface3D
,
ChartType.Contour
,
ChartType.WireframeContour
.
public static boolean isChartTypeDoughnut(int chartType)
Return true if chartType is one of Doughnut subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.Doughnut
,
ChartType.ExplodedDoughnut
.
public static boolean isChartTypeBubble(int chartType)
Return true if chartType is one of Bubble subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.Bubble
,
ChartType.BubbleWith3D
.
public static boolean isChartTypeRadar(int chartType)
Return true if chartType is one of Radar subtypes.
Subtypes set corresponds to the appropriate set in PowerPoint (see "Change Chart Type" dialog in PowerPoint):
ChartType.FilledRadar
,
ChartType.Radar
,
ChartType.RadarWithMarkers
.
public static boolean isSeriesUsesXValueCoordinate(int seriesType)
Returns if specified series type uses X value coordinates.
seriesType
- Series type.public static boolean isSeriesUsesYValueCoordinate(int seriesType)
Returns if specified series type uses Y value coordinates.
seriesType
- Series type.public static boolean isSeriesUsesValueCoordinate(int seriesType)
Returns if specified series type uses value coordinates.
seriesType
- Series type.public static boolean isSeriesUsesBubbleSizeCoordinate(int seriesType)
Returns if bubble size coordinates can be used for specified series type.
seriesType
- Series type.public static boolean hasSeriesTrendLines(int seriesType)
Returns if there are series trend lines for specified series type.
seriesType
- Series type.public static boolean isErrorBarsXAllowed(int seriesType)
Returns if error bars X allowed for specified series type.
seriesType
- Series type.public static boolean isErrorBarsYAllowed(int seriesType)
Returns if error bars Y allowed for specified series type.
seriesType
- Series type.