class anychart.format.Context Improve this Doc
Common format context class.
Methods Overview
Data | |
getData() | Get data value. |
getMeta() | Gets meta value. |
getStat() | Gets statistics value by key. |
Methods Description
getData
Gets data value by single parameter.
Params:
Name | Type | Description |
---|---|---|
fieldPath | * | Field path. |
Returns:
* - Data value.Try it:
Gets data value by several parameters.
This method uses several parameters only in the Gantt Resource, TreeMap and Pert charts.
Params:
Name | Type | Description |
---|---|---|
var_args | * | Data field path. |
Returns:
* - Data value.getMeta
Gets meta value.
Params:
Name | Type | Description |
---|---|---|
name | string | Data field path. |
Returns:
* - Meta value.Try it:
getStat
Gets statistics value by key.
Params:
Name | Type | Description |
---|---|---|
key | string | Key. |
Returns:
* - Statistics value.Try it: