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:
export interface IChartDef

Properties#

PropertyTypeDescription
axisMapIAxisMapMaps fields in the data to axis' on the chart.
dataISerializedDataJSON serializable representation of the data.
plotConfigIPlotConfigDefines the look of the chart.