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 defined by options only. |
| data_zoom | Sets the dataZoom option list. |
| dataset | Sets the dataset option. |
| grid | Ensures grid exists with default options. |
| heatmap | Adds a heatmap series defined by options only. |
| legend | Ensures legend exists with default options. |
| line | Adds a line series from x/y pairs. |
| 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 list. |
| x_axis | Ensures xAxis exists with default options. |
| y_axis | Ensures yAxis exists with default options. |