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

API Reference@grafana/uigraphTimeFormat

graphTimeFormat variable

graphTimeFormat variable

Signature

graphTimeFormat: (ticks: number | null, min: number | null, max: number | null) => string

Import

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