# drawingSelectionChange

the drawing selection of the active cartesian family changed.

Canonical: https://chart.syidax.com/docs/events/drawingSelectionChange/

<a id="definition"></a>

## Definition

Event name: `drawingSelectionChange`. Names are case-sensitive. Read the payload from `detail` on `CustomEvent<DrawingSelectionChangeEventDetail>`.

```javascript
chart.addEventListener('drawingSelectionChange', event => {
  console.log(event.detail); // DrawingSelectionChangeEventDetail
});
```

- [DrawingSelectionChangeEventDetail](https://chart.syidax.com/docs/types/DrawingSelectionChangeEventDetail.md) — Type definition

<a id="related"></a>

## Related charts

- [sy-line-chart](https://chart.syidax.com/docs/components/line.md#event-drawingSelectionChange)
- [sy-area-chart](https://chart.syidax.com/docs/components/area.md#event-drawingSelectionChange)
- [sy-column-chart](https://chart.syidax.com/docs/components/column.md#event-drawingSelectionChange)
- [sy-bar-chart](https://chart.syidax.com/docs/components/bar.md#event-drawingSelectionChange)
- [sy-scatter-chart](https://chart.syidax.com/docs/components/scatter.md#event-drawingSelectionChange)
