chart property

Shape.chart property

Provides access to the chart properties if this shape has a Chart.

@property
def chart(self) -> aspose.words.drawing.charts.Chart:
    ...

Remarks

This property will return the Chart object only if Shape.has_chart property is True for this Shape, and will throw an exception otherwise.

See Also