Skip to content

DateAxis

Type module

Data item

DateAxis uses data items of type IDateAxisDataItem.

Sources

Items from DateAxis can be imported/included and used via following ways.

/**
* Import via: DateAxis.ts
* Access items like: $dateaxis.myVariable
*/
import * as $dateaxis from "@amcharts/amcharts5/DateAxis";

Variables

AUTO_INTERVALS

Type ArrayDefault [ [ "year", [ 100, 50, 20, 10, 5, 2, 1 ] ], [ "month", [ 6, 3, 2, 1 ] ], [ "day", [] ], [ "hour", [ 12, 8, 6, 4, 3, 2, 1 ] ], [ "minute", [ 30, 20, 15, 10, 5, 2, 1 ] ], [ "second", [ 30, 20, 15, 10, 5, 2, 1 ] ], [ "millisecond", [ 500, 200, 100, 50, 20, 10, 5, 2, 1 ] ] ]

Functions

DateAxis does not have any functions.