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.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:

NameTypeDescription
fieldPath*Field path.

Returns:

* - Data value.
Gets data value by several parameters. This method uses several parameters only in the Gantt Resource, TreeMap and Pert charts.

Params:

NameTypeDescription
var_args*Data field path.

Returns:

* - Data value.

getMeta

Gets meta value.

Params:

NameTypeDescription
namestringData field path.

Returns:

* - Meta value.

getStat

Gets statistics value by key.

Params:

NameTypeDescription
keystringKey.

Returns:

* - Statistics value.