+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "GraphSeriesTogglerAPI" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" +++ ## GraphSeriesTogglerAPI interface Signature ```typescript export interface GraphSeriesTogglerAPI ``` Import ```typescript import { GraphSeriesTogglerAPI } from '@grafana/ui'; ``` Properties | Property | Type | Description | | --- | --- | --- | | [onSeriesToggle](#onseriestoggle-property) | (label: string, event: React.MouseEvent<HTMLElement>) => void | | | [toggledSeries](#toggledseries-property) | GraphSeriesXY[] | | ### onSeriesToggle property Signature ```typescript onSeriesToggle: (label: string, event: React.MouseEvent) => void; ``` ### toggledSeries property Signature ```typescript toggledSeries: GraphSeriesXY[]; ```