@grafana/ui
Version:
Grafana Components Library
19 lines (18 loc) • 481 B
TypeScript
/**
* Mode to describe if a legend is isolated/selected or being appended to an existing
* series selection.
* @alpha
*/
export declare enum SeriesVisibilityChangeMode {
ToggleSelection = "select",
AppendToSelection = "append"
}
export type OnSelectRangeCallback = (selections: RangeSelection2D[]) => void;
export interface RangeSelection1D {
from: number;
to: number;
}
export interface RangeSelection2D {
x?: RangeSelection1D;
y?: RangeSelection1D;
}