TimeRangePickerProps interface

Signature

  1. export interface TimeRangePickerProps extends Themeable

Import

  1. import { TimeRangePickerProps } from '@grafana/ui';

Properties

PropertyTypeDescription
fiscalYearStartMonthnumber
hideQuickRangesboolean
hideTextboolean
historyTimeRange[]
isSyncedboolean
onChange(timeRange: TimeRange) => void
onChangeFiscalYearStartMonth(month: number) => void
onChangeTimeZone(timeZone: TimeZone) => void
onMoveBackward() => void
onMoveForward() => void
onZoom() => void
timeSyncButtonJSX.Element
timeZoneTimeZone
valueTimeRange
widthOverridenumber

fiscalYearStartMonth property

Signature

  1. fiscalYearStartMonth?: number;

hideQuickRanges property

Signature

  1. hideQuickRanges?: boolean;

hideText property

Signature

  1. hideText?: boolean;

history property

Signature

  1. history?: TimeRange[];

isSynced property

Signature

  1. isSynced?: boolean;

onChange property

Signature

  1. onChange: (timeRange: TimeRange) => void;

onChangeFiscalYearStartMonth property

Signature

  1. onChangeFiscalYearStartMonth?: (month: number) => void;

onChangeTimeZone property

Signature

  1. onChangeTimeZone: (timeZone: TimeZone) => void;

onMoveBackward property

Signature

  1. onMoveBackward: () => void;

onMoveForward property

Signature

  1. onMoveForward: () => void;

onZoom property

Signature

  1. onZoom: () => void;

timeSyncButton property

Signature

  1. timeSyncButton?: JSX.Element;

timeZone property

Signature

  1. timeZone?: TimeZone;

value property

Signature

  1. value: TimeRange;

widthOverride property

Signature

  1. widthOverride?: number;