Chart
Overview
Chart is a class in Aspose.Slides FOSS for Python.
Inherits from: IChart, GraphicalObject.
Represents a chart on a slide.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
fill_format | `` | Read | Provides access to the chart’s fill formatting options |
line_format | `` | Read | Provides access to the chart’s line formatting options |
effect_format | `` | Read | Provides access to the chart’s visual effect settings |
three_d_format | `` | Read | Provides access to the chart’s 3‑D formatting properties |
chart_data | IChartData | Read | Returns the IChartData object containing series and categories |
type | ChartType | Read | Gets or sets the ChartType of the chart |
has_title | bool | Read | Indicates whether the chart includes a title |
chart_title | 'IChartTitle' | Read | Provides the IChartTitle object for the chart’s title |
has_legend | bool | Read | Indicates whether the chart displays a legend |
legend | 'ILegend' | Read | Provides the ILegend object representing the chart’s legend |
has_data_table | bool | Read | Indicates whether a data table is shown with the chart |
chart_data_table | IDataTable | Read | Provides the IDataTable object for the chart’s data table |
plot_area | 'IChartPlotArea' | Read | Provides the IChartPlotArea object defining the chart’s plot area |
axes | 'IAxesManager' | Read | Provides the IAxesManager for accessing and configuring chart axes |
display_blanks_as | 'DisplayBlanksAsType' | Read | Specifies how blank cells are displayed in the chart |
plot_visible_cells_only | bool | Read | Determines if only visible cells are plotted |
show_data_labels_over_maximum | bool | Read | Indicates if data labels appear beyond the maximum value |
has_rounded_corners | bool | Read | Indicates whether the chart has rounded corners |
style | 'StyleType' | Read | Gets or sets the StyleType applied to the chart |
text_format | 'IChartTextFormat' | Read | Provides the IChartTextFormat for chart-wide text formatting |
rotation_3d | 'IRotation3D' | Read | Provides the IRotation3D object for 3‑D rotation settings |
back_wall | 'IChartWall' | Read | Provides the IChartWall representing the chart’s back wall |
side_wall | 'IChartWall' | Read | Provides the IChartWall representing the chart’s side wall |
floor | 'IChartWall' | Read | Provides the IChartWall representing the chart’s floor |
chart | `` | Read | Returns the underlying chart object (self reference) |
Methods
| Signature | Description |
|---|---|
validate_chart_layout() | Validates the chart’s layout configuration |