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

class anychart.scales.StockScatterDateTime Improve this Doc

Extends: anychart.core.Base

Stock scatter datetime scale class.

Methods Overview

Specific settings
getFullMaximum()Getter for the full scale maximum.
getFullMinimum()Getter for the full scale minimum.
getGroupingUnit()Gets current grouping unit.
getGroupingUnitCount()Gets current grouping unit count.
getMaximum()Getter for the current scale maximum.
getMinimum()Getter for the current scale minimum.
inverseTransform()Processes reverse transformation of the ratio backward to value.
transform()Transforms values to ratio.

Methods Description

getFullMaximum

Getter for the full scale maximum.

Returns:

number - Full scale minimum value.

Try it:

getFullMinimum

Getter for the full scale minimum.

Returns:

number - Full scale minimum value.

Try it:

getGroupingUnit

Gets current grouping unit.

Returns:

anychart.enums.Interval - Interval value.

Try it:

getGroupingUnitCount

Gets current grouping unit count.

Returns:

number - Grouping unit count.

Try it:

getMaximum

Getter for the current scale maximum.

Returns:

number - Scale maximum.

Try it:

getMinimum

Getter for the current scale minimum.

Returns:

number - Scale minimum.

Try it:

inverseTransform

Processes reverse transformation of the ratio backward to value.

Params:

Name Type Description
ratio number Value to ratio.

Returns:

number - Returns timestamp.

Try it:

transform

Transforms values to ratio.

Params:

Name Type Description
value number | string | Date Value to transform.

Returns:

number - Value to ratio.

Try it: