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

namespace anychart.scales Improve this Doc

Namespace for scales.

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.GanttDateTimeComing soon ...
anychart.scales.LinearRepresents simple linear scale that transforms values from domain [a, b] to domain [0, 1].
anychart.scales.LinearColorLinear color scale.
anychart.scales.LogarithmicDefine Logarithmic scale.
anychart.scales.OrdinalDefine Ordinal scale.
anychart.scales.OrdinalColorDefine Ordinal scale.
anychart.scales.OrdinalTicksScale ticks settings.
anychart.scales.ScatterBaseBase for all scatter scales (Linear, Logarithmic and DateTime).
anychart.scales.ScatterTicksScale ticks.
anychart.scales.StockOrdinalDateTimeStock ordinal date time scale.
anychart.scales.StockScatterDateTimeStock scatter datetime scale class.

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.scales.OrdinalColor - Self instance for method chaining.

Try it: