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

class anychart.core.utils.StockHighlightContextProvider Improve this Doc

Extends: anychart.core.utils.SeriesPointContextProvider

Stock series 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:

Name Type Description
key string Key.

Returns:

* - Value by key.

Try it:

getSeriesMeta

Gets series meta by key.

Params:

Name Type Description
key string Key.

Returns:

* - Meta value by key, or meta object.

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: