
## Shape.chart property

Provides access to the chart properties if this shape has a [Chart](../../chart/).



```js
get chart(): Aspose.Words.Drawing.Charts.Chart
```

### Remarks

This property will return the [Chart](../../chart/) object only if [Shape.hasChart](../hasChart/)
property is ``true`` for this [Shape](../), and will throw an exception otherwise.


### See Also

* module [Aspose.Words.Drawing](../../)
* class [Shape](../)

