Top

class anychart.core.utils.PointContextProvider Improve this Doc

Extends: anychart.core.utils.BaseContextProvider

Point context provider for pie, funnel and sparkline charts.

Methods Overview

Specific settings
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:

Name Type Description
key string Key.

Returns:

* - Value by key.

Try it:

getStat

Gets statistics value by key.

Params:

Name Type Description
key string Key.

Returns:

* - Value by key.

Try it:

getTokenType

Returns token type by token name. Tokens List.

Params:

Name Type Description
name string Name of the token.

Returns:

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

Try it:

getTokenValue

Returns token value by token name. Tokens List.

Params:

Name Type Description
name string Name of the token.

Returns:

* - Value of the token.

Try it: