Top
You are looking at an outdated 7.1.1 version of this document. Switch to the 7.14.3 version to see the up to date information.

class anychart.scales.DateTime Improve this Doc

Extends: anychart.scales.ScatterBase

Scatter datetime scale.

Methods Overview

Miscellaneous
minorTicks()Gets or sets a set of scale minor ticks in terms of data values.
ticks()Gets or sets a set of scale ticks in terms of data values.
transform()

Methods Description

minorTicks

Gets or sets a set of scale minor ticks in terms of data values.

Params:

Name Type Description
value Array An array of ticks to set.

Returns:

anychart.scales.DateTime anychart.scales.DateTimeTicks - Ticks or itself for method chaining.

ticks

Gets or sets a set of scale ticks in terms of data values.

Params:

Name Type Description
value Array An array of ticks to set.

Returns:

anychart.scales.DateTime anychart.scales.DateTimeTicks - Ticks or itself for method chaining.

transform

Params:

Name Type Description
value * Value to transform in input scope.
subRangeRatio number Sub range ratio.

Returns:

number - Value transformed to scope [0, 1].