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:
| Name | Type | Description |
|---|---|---|
| name | string | Value name. |
Returns:
* - Value by nameTry it:
getShapesGroup
Generates a shapes group.
Params:
| Name | Type | Description |
|---|---|---|
| state | anychart.enums.PointState | string | Point state. |
| baseZIndex | number | Z-index. Z-index is added to zIndex from configuration of shapes. |
| restrictShapes | Object.<string> | Restricts shapes. |
Returns:
Object.<string, anychart.graphics.vector.Shape> - A shapes group.getStackedValue
getStackedZero
getStat
Fetch statistics value by its key or a whole object if no key provided.
Params:
| Name | Type | Description |
|---|---|---|
| key | string | Key. |
Returns:
* - Value by key.