# markerActiveTrigger

Allowed values: hover, click, custom. Default: 'hover'.

Canonical: https://chart.syidax.com/docs/options/markerActiveTrigger/

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

## Definition

| Item | Value |
| --- | --- |
| JavaScript property | `markerActiveTrigger` |
| HTML attribute | `marker-active-trigger` |
| Type | `LineChartMarkerActiveTrigger` |
| Default | `'hover'` |
| Allowed values | `hover`, `click`, `custom` |

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

<a id="example"></a>

## Configuration example

```javascript
chart.markerActiveTrigger = 'hover';
```

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

## Related documentation

A property with the same name may have different types and defaults across charts. When using a direct tag, follow that chart's documentation below.

- [Shared facade and direct tags](https://chart.syidax.com/docs/concepts.md)
- [sy-line-chart](https://chart.syidax.com/docs/components/line.md#property-markerActiveTrigger)
