"addMarking"
Adds a colored marking to the scale.
Synopsis
shape.
addMarking(floatmin, float max, string
color);
Parameters
Parameter | Description |
---|---|
min | Lower limit of the defined area. |
max | Upper limit of the defined area. |
color | Defines the color of the area. |
Description
Adds a colored marking to the scale.
Example
The following example adds three different areas to the scale.
main()
{
this.addMarking(0,50,"green");
this.addMarking(50,100,"yellow");
this.addMarking(100,150,"red");
}

Assignment
DialGauge EWO