Home > @plotex/chart-def > IChartDef
IChartDef interface#
A chart definition that is suitable for serialization to JSON and transfer to the browser via REST API. Can be used to instantiate a chart in the browser.
Signature:Properties#
| Property | Type | Description |
|---|---|---|
| axisMap | IAxisMap | Maps fields in the data to axis' on the chart. |
| data | ISerializedData | JSON serializable representation of the data. |
| plotConfig | IPlotConfig | Defines the look of the chart. |