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

API Reference@grafana/datagetDimensionByName

getDimensionByName variable

getDimensionByName variable

Signature

getDimensionByName: (dimensions: Dimensions, name: string) => Dimension<any>

Import

import { getDimensionByName } from '@grafana/data';