This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/uiSeriesColorPicker

SeriesColorPicker variable

SeriesColorPicker variable

Signature

SeriesColorPicker: React.FunctionComponent<{
    color: string;
    onChange: ColorPickerChangeHandler;
    children?: ColorPickerTriggerRenderer | undefined;
    onColorChange?: ColorPickerChangeHandler | undefined;
    enableNamedColors?: boolean | undefined;
    updatePopperPosition?: (() => void) | undefined;
    yaxis?: number | undefined;
    onToggleAxis?: (() => void) | undefined;
}>

Import

import { SeriesColorPicker } from '@grafana/ui';