Aspose::Slides::Charts::ChartTypeCharacterizer Class Reference

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

Static Public Member Functions

static bool IsBar3DChart (ChartType chartType)
 Return true if chartType is one of bar3DChart subtypes (3D columns or bars). More...
 
static bool Is2DChart (ChartType chartType)
 Return true if chartType is one of 2D chart types. More...
 
static bool Is3DChart (ChartType chartType)
 Return true if chartType is one of 3D chart types. More...
 
static bool IsChartTypeColumn (ChartType 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. More...
 
static bool IsChartTypeLine (ChartType 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. More...
 
static bool IsChartTypePie (ChartType 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. More...
 
static bool IsChartTypeBar (ChartType 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. More...
 
static bool IsChartTypeArea (ChartType 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. More...
 
static bool IsChartTypeScatter (ChartType 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. More...
 
static bool IsChartTypeStock (ChartType 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. More...
 
static bool IsChartTypeSurface (ChartType 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. More...
 
static bool IsChartTypeDoughnut (ChartType 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. More...
 
static bool IsChartTypeBubble (ChartType 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. More...
 
static bool IsChartTypeRadar (ChartType 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. More...
 
static bool IsSeriesUsesXValueCoordinate (ChartType seriesType)
 Returns if specified series type uses X value coordinates. More...
 
static bool IsSeriesUsesYValueCoordinate (ChartType seriesType)
 Returns if specified series type uses Y value coordinates. More...
 
static bool IsSeriesUsesValueCoordinate (ChartType seriesType)
 Returns if specified series type uses value coordinates. More...
 
static bool IsSeriesUsesBubbleSizeCoordinate (ChartType seriesType)
 Returns if bubble size coordinates can be used for specified series type. More...
 
static bool HasSeriesTrendLines (ChartType seriesType)
 Returns if there are series trend lines for specified series type. More...
 
static bool IsErrorBarsXAllowed (ChartType seriesType)
 Returns if error bars X allowed for specified series type. More...
 
static bool IsErrorBarsYAllowed (ChartType seriesType)
 Returns if error bars Y allowed for specified series type. More...
 

Static Protected Member Functions

static AxesCompositionType GetBaseAxesComposition (ChartType chartType)
 Each chartType corresponds to the base axes composition. But keep in mind that series of some chartType can adapt to non-base axes composition. For example, Scatter series have base axes composition of AxisCount2OfTypesValueValue, but can be drawn under AxisCount2OfTypesCategoryValue axes. More...
 
static System::String GetAxesCompositionTypeDescription (AxesCompositionType compositionType)
 
static bool IsChartExType (ChartType chartType)
 Return true if chartType is one of ChartEx types which are avalible in PP2016 More...
 
static bool IsDrawMarkerInPlot (ChartType chartType)
 Decides whether drawing maker according to the chart type More...
 
static bool IsAreaPercentSeries (ChartType chartType)
 
static bool IsWideKeyInLegend (ChartType chartType)
 
static bool IsStackedSeries (ChartType chartType)
 
static bool IsAreaStatckedSeries (ChartType chartType)
 
static bool IsPercentSeries (ChartType chartType)
 
static CombinableSeriesTypesGroup GetIdOfCombinableSeriesTypesGroup (ChartType chartType)
 Gets ID of subgroup that contains types of chart series that can persist simultaneously in one ChartSeriesGroup. For example: PercentsStackedArea series cannot be simultaneously with StackedArea series in one ChartSeriesGroup. But two or more PercentsStackedArea can be in one ChartSeriesGroup simultaneously. More...
 
static bool IsCompatible (System::SharedPtr< IChartSeries > series, System::SharedPtr< IChartSeriesGroup > seriesGroup)
 
static bool IsTopValueChart (System::SharedPtr< Chart > chart)
 
static bool IsAggregatedDataPointsAllowed (ChartType seriesType)
 Returns true if aggregated data points allowed for specified series type. More...
 

Detailed Description

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

Member Function Documentation

◆ GetAxesCompositionTypeDescription()

static System::String Aspose::Slides::Charts::ChartTypeCharacterizer::GetAxesCompositionTypeDescription ( AxesCompositionType  compositionType)
staticprotected

◆ GetBaseAxesComposition()

static AxesCompositionType Aspose::Slides::Charts::ChartTypeCharacterizer::GetBaseAxesComposition ( ChartType  chartType)
staticprotected

Each chartType corresponds to the base axes composition. But keep in mind that series of some chartType can adapt to non-base axes composition. For example, Scatter series have base axes composition of AxisCount2OfTypesValueValue, but can be drawn under AxisCount2OfTypesCategoryValue axes.

◆ GetIdOfCombinableSeriesTypesGroup()

static CombinableSeriesTypesGroup Aspose::Slides::Charts::ChartTypeCharacterizer::GetIdOfCombinableSeriesTypesGroup ( ChartType  chartType)
staticprotected

Gets ID of subgroup that contains types of chart series that can persist simultaneously in one ChartSeriesGroup. For example: PercentsStackedArea series cannot be simultaneously with StackedArea series in one ChartSeriesGroup. But two or more PercentsStackedArea can be in one ChartSeriesGroup simultaneously.

◆ HasSeriesTrendLines()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::HasSeriesTrendLines ( ChartType  seriesType)
static

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

Parameters
seriesTypeSeries type.
Returns
True if present otherwise false.

◆ Is2DChart()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::Is2DChart ( ChartType  chartType)
static

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

◆ Is3DChart()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::Is3DChart ( ChartType  chartType)
static

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

◆ IsAggregatedDataPointsAllowed()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsAggregatedDataPointsAllowed ( ChartType  seriesType)
staticprotected

Returns true if aggregated data points allowed for specified series type.

Parameters
seriesTypeSeries type.
Returns
True if allowed, otherwise false.

◆ IsAreaPercentSeries()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsAreaPercentSeries ( ChartType  chartType)
staticprotected

◆ IsAreaStatckedSeries()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsAreaStatckedSeries ( ChartType  chartType)
staticprotected

◆ IsBar3DChart()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsBar3DChart ( ChartType  chartType)
static

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

◆ IsChartExType()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsChartExType ( ChartType  chartType)
staticprotected

Return true if chartType is one of ChartEx types which are avalible in PP2016

Parameters
chartType
Returns

◆ IsChartTypeArea()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsChartTypeArea ( ChartType  chartType)
static

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.

◆ IsChartTypeBar()

◆ IsChartTypeBubble()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsChartTypeBubble ( ChartType  chartType)
static

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.

◆ IsChartTypeColumn()

◆ IsChartTypeDoughnut()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsChartTypeDoughnut ( ChartType  chartType)
static

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.

◆ IsChartTypeLine()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsChartTypeLine ( ChartType  chartType)
static

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.

◆ IsChartTypePie()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsChartTypePie ( ChartType  chartType)
static

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.

◆ IsChartTypeRadar()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsChartTypeRadar ( ChartType  chartType)
static

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.

◆ IsChartTypeScatter()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsChartTypeScatter ( ChartType  chartType)
static

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.

◆ IsChartTypeStock()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsChartTypeStock ( ChartType  chartType)
static

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.

◆ IsChartTypeSurface()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsChartTypeSurface ( ChartType  chartType)
static

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.

◆ IsCompatible()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsCompatible ( System::SharedPtr< IChartSeries series,
System::SharedPtr< IChartSeriesGroup seriesGroup 
)
staticprotected

◆ IsDrawMarkerInPlot()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsDrawMarkerInPlot ( ChartType  chartType)
staticprotected

Decides whether drawing maker according to the chart type

◆ IsErrorBarsXAllowed()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsErrorBarsXAllowed ( ChartType  seriesType)
static

Returns if error bars X allowed for specified series type.

Parameters
seriesTypeSeries type.
Returns
True if allowed, otherwise false.

◆ IsErrorBarsYAllowed()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsErrorBarsYAllowed ( ChartType  seriesType)
static

Returns if error bars Y allowed for specified series type.

Parameters
seriesTypeSeries type.
Returns
True if allowed, otherwise false.

◆ IsPercentSeries()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsPercentSeries ( ChartType  chartType)
staticprotected

◆ IsSeriesUsesBubbleSizeCoordinate()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsSeriesUsesBubbleSizeCoordinate ( ChartType  seriesType)
static

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

Parameters
seriesTypeSeries type.
Returns
True if can be used, otherwise false.

◆ IsSeriesUsesValueCoordinate()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsSeriesUsesValueCoordinate ( ChartType  seriesType)
static

Returns if specified series type uses value coordinates.

Parameters
seriesTypeSeries type.
Returns
True if uses otherwise false.

◆ IsSeriesUsesXValueCoordinate()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsSeriesUsesXValueCoordinate ( ChartType  seriesType)
static

Returns if specified series type uses X value coordinates.

Parameters
seriesTypeSeries type.
Returns
True if uses otherwise false.

◆ IsSeriesUsesYValueCoordinate()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsSeriesUsesYValueCoordinate ( ChartType  seriesType)
static

Returns if specified series type uses Y value coordinates.

Parameters
seriesTypeSeries type.
Returns
True if uses otherwise false.

◆ IsStackedSeries()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsStackedSeries ( ChartType  chartType)
staticprotected

◆ IsTopValueChart()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsTopValueChart ( System::SharedPtr< Chart chart)
staticprotected

◆ IsWideKeyInLegend()

static bool Aspose::Slides::Charts::ChartTypeCharacterizer::IsWideKeyInLegend ( ChartType  chartType)
staticprotected