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

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

Rendering functions context.

Methods Overview

Specific settings
getShapesGroup()Generates a shapes group.
Data
getStat()Fetch statistics value by its key or a whole object if no key provided.

Methods Description

getShapesGroup

Generates a shapes group.

Params:

NameTypeDescription
stateanychart.enums.PointStatePoint 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.

getStat

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

Params:

NameTypeDescription
keystringKey.

Returns:

* - Value by key.