AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.series.RenderingSettings.PointContext Improve this Doc

Extends: anychart.core.series.RenderingSettings.Context

Rendering functions context.

Methods Overview

Specific settings
getShapesGroup()Generates a shapes group.
Data
getDataValue()Returns data value by name.
getStackedValue()Returns stacked value if the series is stacked.
getStackedZero()Returns stacked zero value if the series is stacked.
getStat()Fetch statistics value by its key or a whole object if no key provided.

Methods Description

getDataValue

Returns data value by name.

Params:

NameTypeDescription
namestringValue name.

Returns:

* - Value by name

getShapesGroup

Generates a shapes group.

Params:

NameTypeDescription
stateanychart.enums.PointState | stringPoint state.
baseZIndexnumberZ-index. Z-index is added to zIndex from configuration of shapes.
restrictShapesObject.<string>Restricts shapes.

Returns:

Object.<string, anychart.graphics.vector.Shape> - A shapes group.

getStackedValue

Returns stacked value if the series is stacked.

Returns:

* - Value.

getStackedZero

Returns stacked zero value if the series is stacked.

Returns:

* - Value.

getStat

Fetch statistics value by its key or a whole object if no key provided.

Params:

NameTypeDescription
keystringKey.

Returns:

* - Value by key.