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

API Reference@grafana/datagetSeriesTimeStep

getSeriesTimeStep variable

getSeriesTimeStep variable

Returns minimal time step from series time field

Signature

getSeriesTimeStep: (timeField: Field) => number

Import

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