IPlotAPI interface#
Fluent API for configuring the plot.
Signature:Methods#
| Method | Description |
|---|---|
| chartType(chartType) | Set the type of the chart to be plotted. |
| height(height) | Set the height of the chart. |
| serialize() | 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. |
| width(width) | Set the width of the chart. |
| x() | Configure the x axis. |
| y() | Configure the y axis. |
| y2() | Configure the y axis. |