Chart

Overview

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

Represents a chart on a slide.

This class provides 2 methods for working with Chart objects in Python programs. Available methods include: __init__, validate_chart_layout. All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: alternative_text, alternative_text_title, as_i_chart_component, as_i_presentation_component, as_i_slide_component, axes, and 45 more.

Properties

NameTypeAccessDescription
fill_format``ReadGets the fill format.
line_format``ReadGets the line format.
effect_format``ReadGets the effect format.
three_d_format``ReadGets the three d format.
chart_dataIChartDataReadGets the chart data.
typeChartTypeRead/WriteGets or sets the type.
has_titleboolRead/WriteGets or sets the has title.
chart_title'IChartTitle'ReadGets the chart title.
has_legendboolRead/WriteGets or sets the has legend.
legend'ILegend'ReadGets the legend.
has_data_tableboolRead/WriteGets or sets the has data table.
chart_data_tableIDataTableReadGets the chart data table.
plot_area'IChartPlotArea'ReadGets the plot area.
axes'IAxesManager'ReadGets the axes.
display_blanks_as'DisplayBlanksAsType'Read/WriteGets or sets the display blanks as.
plot_visible_cells_onlyboolRead/WriteGets or sets the plot visible cells only.
show_data_labels_over_maximumboolRead/WriteGets or sets the show data labels over maximum.
has_rounded_cornersboolRead/WriteGets or sets the has rounded corners.
style'StyleType'Read/WriteGets or sets the style.
text_format'IChartTextFormat'ReadGets the text format.
rotation_3d'IRotation3D'ReadGets the rotation 3d.
back_wall'IChartWall'ReadGets the back wall.
side_wall'IChartWall'ReadGets the side wall.
floor'IChartWall'ReadGets the floor.
chart``ReadGets the chart.
graphical_object_lockIGraphicalObjectLockReadReturns shape’s locks.
is_text_holderboolReadDetermines whether the shape is TextHolder.
placeholderIPlaceholderReadReturns the placeholder for a shape.
custom_dataICustomDataReadReturns the shape’s custom data.
raw_frameIShapeFrameRead/WriteReturns or sets the raw shape frame’s properties.
frameIShapeFrameRead/WriteReturns or sets the shape frame’s properties.
hiddenboolRead/WriteDetermines whether the shape is hidden.
z_order_positionintReadReturns the position of a shape in the z-order.
connection_site_countintReadReturns the number of connection sites on the shape.
rotationfloatRead/WriteReturns or sets the number of degrees the specified shape is rotated around the z-axis.
xfloatRead/WriteGets or sets the x-coordinate of the shape’s upper-left corner, measured in points.
yfloatRead/WriteGets or sets the y-coordinate of the shape’s upper-left corner, measured in points.
widthfloatRead/WriteGets or sets the width of the shape, measured in points.
heightfloatRead/WriteGets or sets the height of the shape, measured in points.
alternative_textstrRead/WriteReturns or sets the alternative text associated with a shape.
alternative_text_titlestrRead/WriteReturns or sets the title of alternative text associated with a shape.
namestrRead/WriteReturns or sets the name of a shape.
is_decorativeboolRead/WriteGets or sets ‘Mark as decorative’ option Reed/write .
unique_idintReadReturns an internal, presentation-scoped identifier intended for use by add-ins or other code.
office_interop_shape_idintReadReturns a slide-scoped unique identifier that remains constant for the lifetime of the shape and lets PowerPoint or interop code reliably reference the shape from anywhere in the document.
is_groupedboolReadDetermines whether the shape is grouped.
as_i_slide_componentISlideComponentReadAllows to get base ISlideComponent interface.
slideIBaseSlideReadReturns the base slide.
as_i_presentation_componentIPresentationComponentReadAllows to get base IPresentationComponent interface.
presentationIPresentationReadReturns the presentation.
as_i_chart_componentIChartComponentReadReturns IChartComponent interface.

Methods

SignatureDescription
validate_chart_layout()Validates the chart’s layout configuration
__init__()Initialize an empty shape.

See Also