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

API Reference@grafana/uiusePlotContext

usePlotContext variable

usePlotContext variable

Signature

usePlotContext: () => PlotContextType

Import

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