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 from x/y pairs.
data_zoomSets the dataZoom option map.
datasetSets the dataset option.
gridSets the grid option map.
heatmapAdds a heatmap series from point data.
legendSets the legend option map.
lineAdds a line series from point data.
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 map.
x_axisEnsures xAxis exists with default options.
y_axisEnsures yAxis exists with default options.