XY Graph

A widget that is able to plot 1D or 2D data in an XY Graph. It has comprehensive drawing and operating functionalities:

Operations

The widget is equipped with a toolbar which allows you to:

Special Properties

Graph properties

Axis Properties

The property id for axis has a prefix of axis_{index}_. In which, {index} should be replaced with the index of the axis, which starts from 0. For example, the property id of Axis Color property for primary X Axis (0) is axis_0_axis_color.

Trace Properties

The property id for traces has a prefix of trace_{index}_. In which, {index} should be replaced with the index of the trace, which starts from 0. For example, the property id of Trace Color property for Trace 0 is trace_0_trace_color.

Special Methods

See Also

Special Methods


clearGraph

public void clearGraph()
Clear the graph by deleting data in buffer.