Chart

Overview

Chart is a class in Aspose.Slides FOSS for Python. Inherits from: IChart, GraphicalObject.

Represents a chart on a slide.

Properties

NameTypeAccessDescription
fill_format``ReadProvides access to the chart’s fill formatting options
line_format``ReadProvides access to the chart’s line formatting options
effect_format``ReadProvides access to the chart’s visual effect settings
three_d_format``ReadProvides access to the chart’s 3‑D formatting properties
chart_dataIChartDataReadReturns the IChartData object containing series and categories
typeChartTypeReadGets or sets the ChartType of the chart
has_titleboolReadIndicates whether the chart includes a title
chart_title'IChartTitle'ReadProvides the IChartTitle object for the chart’s title
has_legendboolReadIndicates whether the chart displays a legend
legend'ILegend'ReadProvides the ILegend object representing the chart’s legend
has_data_tableboolReadIndicates whether a data table is shown with the chart
chart_data_tableIDataTableReadProvides the IDataTable object for the chart’s data table
plot_area'IChartPlotArea'ReadProvides the IChartPlotArea object defining the chart’s plot area
axes'IAxesManager'ReadProvides the IAxesManager for accessing and configuring chart axes
display_blanks_as'DisplayBlanksAsType'ReadSpecifies how blank cells are displayed in the chart
plot_visible_cells_onlyboolReadDetermines if only visible cells are plotted
show_data_labels_over_maximumboolReadIndicates if data labels appear beyond the maximum value
has_rounded_cornersboolReadIndicates whether the chart has rounded corners
style'StyleType'ReadGets or sets the StyleType applied to the chart
text_format'IChartTextFormat'ReadProvides the IChartTextFormat for chart-wide text formatting
rotation_3d'IRotation3D'ReadProvides the IRotation3D object for 3‑D rotation settings
back_wall'IChartWall'ReadProvides the IChartWall representing the chart’s back wall
side_wall'IChartWall'ReadProvides the IChartWall representing the chart’s side wall
floor'IChartWall'ReadProvides the IChartWall representing the chart’s floor
chart``ReadReturns the underlying chart object (self reference)

Methods

SignatureDescription
validate_chart_layout()Validates the chart’s layout configuration