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

class anychart.scales.ScatterBase Improve this Doc

Extends: anychart.scales.Base

Base for all scatter scales (Linear, Logarithmic and DateTime). Doesn't declare any ticks, so different scales can declare their own.

Methods Overview

Miscellaneous
extendDataRange()Extends the scale range.
inverseTransform()
maximum()Gets or sets scale maximum.
maximumGap()Gets or sets scale maximum range based gap.
minimum()Gets or sets scale minimum.
minimumGap()Gets or sets scale minimum range based gap.
stackMode()Accepts 'none', 'value', 'percent'.
transform()

Methods Description

extendDataRange

Extends the scale range.

Params:

Name Type Description
var_args * Values that are supposed to extend the input domain.

Returns:

anychart.scales.ScatterBase - Itself for chaining.

inverseTransform

Params:

Name Type Description
ratio number Value in scope [0, 1] to transform into input scope.

Returns:

* - Value transformed to output scope.

maximum

Gets or sets scale maximum.

Params:

Name Type Description
value * Value to set.

Returns:

* - Scale maximum.

maximumGap

Gets or sets scale maximum range based gap.

Params:

Name Type Description
value number Value to set.

Returns:

* - Scale maximum.

minimum

Gets or sets scale minimum.

Params:

Name Type Description
value * Value to set.

Returns:

* - Scale minimum.

minimumGap

Gets or sets scale minimum range based gap.

Params:

Name Type Description
value number Value to set.

Returns:

* - Scale minimum.

stackMode

Accepts 'none', 'value', 'percent'.

Params:

Name Type Description
stackMode anychart.enums.ScaleStackMode Stack mode if used as a setter.

Returns:

anychart.scales.Base anychart.enums.ScaleStackMode - StackMode 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].