+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "GraphSeriesTogglerAPI"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++

## GraphSeriesTogglerAPI interface

<b>Signature</b>

```typescript
export interface GraphSeriesTogglerAPI 
```
<b>Import</b>

```typescript
import { GraphSeriesTogglerAPI } from '@grafana/ui';
```
<b>Properties</b>

|  Property | Type | Description |
|  --- | --- | --- |
|  [onSeriesToggle](#onseriestoggle-property) | <code>(label: string, event: React.MouseEvent&lt;HTMLElement&gt;) =&gt; void</code> |  |
|  [toggledSeries](#toggledseries-property) | <code>GraphSeriesXY[]</code> |  |

### onSeriesToggle property

<b>Signature</b>

```typescript
onSeriesToggle: (label: string, event: React.MouseEvent<HTMLElement>) => void;
```

### toggledSeries property

<b>Signature</b>

```typescript
toggledSeries: GraphSeriesXY[];
```
