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

namespace anychart.scales Improve this Doc

Functions Overview

dateTime()Constructor function for DateTime scale.
linear()Constructor function for linear scale.
linearColor()Constructor function for the linear color scale.
log()Constructor function for logarithmic scale.
ordinal()Constructor function for ordinal scale.
ordinalColor()Constructor function for linear color scale.

Classes Overview

anychart.scales.BaseBasic methods for scales.
anychart.scales.DateTimeDefine Datetime scale.
anychart.scales.DateTimeTicksScale ticks.
anychart.scales.LinearRepresents simple linear scale that transforms values from domain [a, b] to domain [0, 1].
anychart.scales.LogarithmicDefine Logarithmic scale.
anychart.scales.OrdinalDefine Ordinal scale.
anychart.scales.OrdinalTicksScale ticks settings.
anychart.scales.ScatterBaseBase for all scatter scales (Linear, Logarithmic and DateTime).
anychart.scales.ScatterTicksScale ticks.

Functions Description

dateTime

Constructor function for DateTime scale.

Returns:

anychart.scales.DateTime - DateTime scale.

Try it:

linear

Constructor function for linear scale.

Returns:

anychart.scales.Linear - Linear scale.

Try it:

log

Constructor function for logarithmic scale.

Returns:

anychart.scales.Logarithmic - Logarithmic scale.

Try it:

ordinal

Constructor function for ordinal scale.

Returns:

anychart.scales.Ordinal - Ordinal scale.

Try it:

ordinalColor

Constructor function for linear color scale.

Params:

Name Type Description
value Array.<Object> Colors set.

Returns:

anychart.core.map.scale.OrdinalColor - Self instance for method chaining.

Try it: