AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.10.1 version of this document. Switch to the 8.4.0 version to see the up to date information.

class anychart.core.utils.SeriesPointContextProvider Improve this Doc

Extends: anychart.core.utils.BaseContextProvider

Series point context provider.

Methods Overview

Specific settings
getSeriesMeta()Gets series meta by key.
getStat()Gets statistics value by key.
Data
getDataValue()Gets data value by its key.
getTokenValue()Returns token value by token name.
Miscellaneous
getTokenType()Returns token type by token name.

Methods Description

getDataValue

Gets data value by its key.

Params:

NameTypeDescription
keystringKey.

Returns:

* - Value by key.

getSeriesMeta

Gets series meta by key.

Params:

NameTypeDescription
keystringKey.

Returns:

* - Meta value by key, or meta object.

getStat

Gets statistics value by key.

Params:

NameTypeDescription
keystringKey.

Returns:

* - Value by key.

getTokenType

Returns token type by token name.

Params:

NameTypeDescription
namestringName of the token.

Returns:

anychart.enums.TokenType | string - Type of the token.

getTokenValue

Returns token value by token name.

Params:

NameTypeDescription
namestringName of the token.

Returns:

* - Value of the token.