ChartSeriesType enumeration

ChartSeriesType enumeration

Specifies a type of a chart series.

Members

NameDescription
AREARepresents an Area chart series.
AREA_STACKEDRepresents a Stacked Area chart series.
AREA_PERCENT_STACKEDRepresents a 100% Stacked Area chart series.
AREA_3DRepresents a 3D Area chart series.
AREA_3D_STACKEDRepresents a 3D Stacked Area chart series.
AREA_3D_PERCENT_STACKEDRepresents a 3D 100% Stacked Area chart series.
BARRepresents a Bar chart series.
BAR_STACKEDRepresents a Stacked Bar chart series.
BAR_PERCENT_STACKEDRepresents a 100% Stacked Bar chart series.
BAR_3DRepresents a 3D Bar chart series.
BAR_3D_STACKEDRepresents a 3D Stacked Bar chart series.
BAR_3D_PERCENT_STACKEDRepresents a 3D 100% Stacked Bar chart series.
BUBBLERepresents a Bubble chart series.
BUBBLE_3DRepresents a 3D Bubble chart series.
COLUMNRepresents a Column chart series.
COLUMN_STACKEDRepresents a Stacked Column chart series.
COLUMN_PERCENT_STACKEDRepresents a 100% Stacked Column chart series.
COLUMN_3DRepresents a 3D Column chart series.
COLUMN_3D_STACKEDRepresents a 3D Stacked Column chart series.
COLUMN_3D_PERCENT_STACKEDRepresents a 3D 100% Stacked Column chart series.
COLUMN_3D_CLUSTEREDRepresents a 3D Clustered Column chart series.
DOUGHNUTRepresents a Doughnut chart series.
LINERepresents a Line chart series.
LINE_STACKEDRepresents a Stacked Line chart series.
LINE_PERCENT_STACKEDRepresents a 100% Stacked Line chart series.
LINE_3DRepresents a 3D Line chart series.
PIERepresents a Pie chart series.
PIE_3DRepresents a 3D Pie chart series.
PIE_OF_BARRepresents a Pie of Bar chart series.
PIE_OF_PIERepresents a Pie of Pie chart series.
RADARRepresents a Radar chart series.
SCATTERRepresents a Scatter chart series.
STOCKRepresents a Stock chart series.
SURFACERepresents a Surface chart series.
SURFACE_3DRepresents a 3D Surface chart series.
TREEMAPRepresents a Treemap chart series.
SUNBURSTRepresents a Sunburst chart series.
HISTOGRAMRepresents a Histogram chart series.
PARETORepresents a Pareto chart series.
PARETO_LINERepresents a Pareto Line chart series.
BOX_AND_WHISKERRepresents a Box and Whisker chart series.
WATERFALLRepresents a Waterfall chart series.
FUNNELRepresents a Funnel chart series.
REGION_MAPRepresents a Region Map chart series.

Examples

Shows how to remove specific chart serie.

doc = aw.Document(file_name=MY_DIR + 'Reporting engine template - Chart series.docx')
chart = doc.get_child(aw.NodeType.SHAPE, 0, True).as_shape().chart
# Remove all series of the Column type.
i = chart.series.count - 1
while i >= 0:
    if chart.series[i].series_type == aw.drawing.charts.ChartSeriesType.COLUMN:
        chart.series.remove_at(i)
    i -= 1
chart.series.add(series_name='Aspose Series', categories=['Category 1', 'Category 2', 'Category 3', 'Category 4'], values=[5.6, 7.1, 2.9, 8.9])
doc.save(file_name=ARTIFACTS_DIR + 'Charts.RemoveSpecificChartSeries.docx')

See Also