Skip to main content

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

NameDescription
barAdds a bar series defined by options only.
data_zoomSets the dataZoom option list.
datasetSets the dataset option.
gridEnsures grid exists with default options.
heatmapAdds a heatmap series defined by options only.
legendEnsures legend exists with default options.
lineAdds a line series from x/y pairs.
optionSets a single top-level option.
optionsMerges a map of top-level options.
saveWrites the figure as a .figure file.
scatterAdds a scatter series from point data.
titleSets the figure title.
tooltipEnsures tooltip exists with default options.
visual_mapSets the visualMap option list.
x_axisEnsures xAxis exists with default options.
y_axisEnsures yAxis exists with default options.