Figure
Figure builder that collects data, configuration and options.
Constructors
Figure() -> Figure
Creates an empty Figure.
Figure(const Figure figure) -> Figure
Copies a Figure.
Parameters
- figure: The figure to copy
Members
| Name | Description |
|---|---|
| bar | Adds a bar series from x/y pairs. |
| data_zoom | Sets the dataZoom option map. |
| dataset | Sets the dataset option. |
| grid | Sets the grid option map. |
| heatmap | Adds a heatmap series from point data. |
| legend | Sets the legend option map. |
| line | Adds a line series from point data. |
| option | Sets a single top-level option. |
| options | Merges a map of top-level options. |
| save | Writes the figure as a .figure file. |
| scatter | Adds a scatter series from point data. |
| title | Sets the figure title. |
| tooltip | Ensures tooltip exists with default options. |
| visual_map | Sets the visualMap option map. |
| x_axis | Ensures xAxis exists with default options. |
| y_axis | Ensures yAxis exists with default options. |