Defines the Y values to be displayed. |
Synopsis
setValue (string shape, "data", dyn_float yValues); |
getValue (string shape, "data", dyn_float &yValues); |
shape.data (dyn_float yValues); |
Parameters
Parameter |
Description |
shape |
Name of the object |
yValues |
Y values |
Description
The Y values of the bars can be set or read as type dyn_float using this attribute. |
Example |
The following example passes new values to the trend and changes the width and starting position of the bars. |
main() |
{ |
shape bt=getShape("BarTrend1"); |
dyn_float df; |
... |
// Values |
df=makeDynFloat(10, 30, 40, 25, 15); |
// Width of the bars |
bt.xWidth=15; |
// Start position |
bt.xStart=0; |
// Setting the values |
setValue(bt, "data", df); |
// Update bar trend |
bt.flush(); |
... |
} |
Relates to
Bar trend |
See also
V 3.11 SP1
Copyright