Graph drawer valueset
[Desktop Automation]
The valueset object holds values for the 2D graph drawer.
Properties
Colors are encoded as Integers $BBGGRR
.
Property | Read/write | Type | Description |
---|---|---|---|
legend | Read/write | String | Title of the valueset used for the legend |
line_type | Read/write | Number | Type of the line (0, 1, or 2 for no drawing, smooth drawing, or exact drawing, respectively) |
line_smooth | Read/write | Number | Smooth factor for smooth drawing (1) |
line_size | Read/write | Number | Line width in pixels |
color_line | Read/write | Number | Color of the line |
node_type | Read/write | Number | Shape of the value-node (0, 1, 2, or 3 for no drawing, circle, quad, or diamond, respectively) |
node_size_x | Read/write | Number | Width of the node in pixels |
node_size_y | Read/write | Number | Height of the node in pixels |
node_border | Read/write | Number | Width of the node border in pixels |
color_node | Read/write | Number | Color of the node |
color_node_border | Read/write | Number | Color of the node border |
Methods
Name | Syntax | Description |
---|---|---|
reset | valueset:reset() | Clears all values of the dataset. |
addvalue | valueset:addvalue(x, y: number) | Add a value (x and y) to the dataset |