Home > plot > IPlotAPI > serialize

IPlotAPI.serialize() method#

Serialize the plot definition so that it can be converted to JSON. The JSON definition of the chart can be used to instantiate the chart in a browser.

Signature:
serialize(): IChartDef;
Returns:

IChartDef