#
plot() functionCreate a plot from regular JavaScript data.
Signature:#
ParametersParameter | Type | Description |
---|---|---|
input | PlotInput | The data to plot. Can be an array of numbers or an array objects where the fields in the objects specify the data series. |
plotDef | IPlotConfig | Optional configuration to control the plot. |
axisMap | IAxisMap | Optional configuration that maps data series to axis'. |
A plot API object that is used to further configure the plot, serialize it or render it to an image.