ChartTypeCharacterizer

Inheritance: java.lang.Object

public class ChartTypeCharacterizer

Helper for getting additional information about charts and series by its ChartType.

Constructors

ConstructorDescription
ChartTypeCharacterizer()

Methods

MethodDescription
isBar3DChart(int chartType)Return true if chartType is one of bar3DChart subtypes (3D columns or bars).
is2DChart(int chartType)Return true if chartType is one of 2D chart types.
is3DChart(int chartType)Return true if chartType is one of 3D chart types.
isChartTypeColumn(int chartType)Return true if chartType is one of Column subtypes.
isChartTypeLine(int chartType)Return true if chartType is one of Line subtypes.
isChartTypePie(int chartType)Return true if chartType is one of Pie subtypes.
isChartTypeBar(int chartType)Return true if chartType is one of Bar subtypes.
isChartTypeArea(int chartType)Return true if chartType is one of Area subtypes.
isChartTypeScatter(int chartType)Return true if chartType is one of Scatter subtypes.
isChartTypeStock(int chartType)Return true if chartType is one of Stock subtypes.
isChartTypeSurface(int chartType)Return true if chartType is one of Surface subtypes.
isChartTypeDoughnut(int chartType)Return true if chartType is one of Doughnut subtypes.
isChartTypeBubble(int chartType)Return true if chartType is one of Bubble subtypes.
isChartTypeRadar(int chartType)Return true if chartType is one of Radar subtypes.
isSeriesUsesXValueCoordinate(int seriesType)Returns if specified series type uses X value coordinates.
isSeriesUsesYValueCoordinate(int seriesType)Returns if specified series type uses Y value coordinates.
isSeriesUsesValueCoordinate(int seriesType)Returns if specified series type uses value coordinates.
isSeriesUsesBubbleSizeCoordinate(int seriesType)Returns if bubble size coordinates can be used for specified series type.
hasSeriesTrendLines(int seriesType)Returns if there are series trend lines for specified series type.
isErrorBarsXAllowed(int seriesType)Returns if error bars X allowed for specified series type.
isErrorBarsYAllowed(int seriesType)Returns if error bars Y allowed for specified series type.

ChartTypeCharacterizer()

public ChartTypeCharacterizer()

isBar3DChart(int chartType)

public static boolean isBar3DChart(int chartType)

Return true if chartType is one of bar3DChart subtypes (3D columns or bars).

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

is2DChart(int chartType)

public static boolean is2DChart(int chartType)

Return true if chartType is one of 2D chart types.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

is3DChart(int chartType)

public static boolean is3DChart(int chartType)

Return true if chartType is one of 3D chart types.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypeColumn(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypeLine(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypePie(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypeBar(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypeArea(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypeScatter(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypeStock(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypeSurface(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypeDoughnut(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypeBubble(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isChartTypeRadar(int chartType)

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.

Parameters:

ParameterTypeDescription
chartTypeint

Returns: boolean

isSeriesUsesXValueCoordinate(int seriesType)

public static boolean isSeriesUsesXValueCoordinate(int seriesType)

Returns if specified series type uses X value coordinates.

Parameters:

ParameterTypeDescription
seriesTypeintSeries type.

Returns: boolean - True if uses otherwise false.

isSeriesUsesYValueCoordinate(int seriesType)

public static boolean isSeriesUsesYValueCoordinate(int seriesType)

Returns if specified series type uses Y value coordinates.

Parameters:

ParameterTypeDescription
seriesTypeintSeries type.

Returns: boolean - True if uses otherwise false.

isSeriesUsesValueCoordinate(int seriesType)

public static boolean isSeriesUsesValueCoordinate(int seriesType)

Returns if specified series type uses value coordinates.

Parameters:

ParameterTypeDescription
seriesTypeintSeries type.

Returns: boolean - True if uses otherwise false.

isSeriesUsesBubbleSizeCoordinate(int seriesType)

public static boolean isSeriesUsesBubbleSizeCoordinate(int seriesType)

Returns if bubble size coordinates can be used for specified series type.

Parameters:

ParameterTypeDescription
seriesTypeintSeries type.

Returns: boolean - True if can be used, otherwise false.

hasSeriesTrendLines(int seriesType)

public static boolean hasSeriesTrendLines(int seriesType)

Returns if there are series trend lines for specified series type.

Parameters:

ParameterTypeDescription
seriesTypeintSeries type.

Returns: boolean - True if present otherwise false.

isErrorBarsXAllowed(int seriesType)

public static boolean isErrorBarsXAllowed(int seriesType)

Returns if error bars X allowed for specified series type.

Parameters:

ParameterTypeDescription
seriesTypeintSeries type.

Returns: boolean - True if allowed, otherwise false.

isErrorBarsYAllowed(int seriesType)

public static boolean isErrorBarsYAllowed(int seriesType)

Returns if error bars Y allowed for specified series type.

Parameters:

ParameterTypeDescription
seriesTypeintSeries type.

Returns: boolean - True if allowed, otherwise false.