Bargraph, 23 bargraph, Webgui – CUE WebGUI User Manual
Page 23: Description, Properties, Functions

User Manual
Page 23
www.cuesystem.com
[email protected]
WebGUI
Bargraph
Description
Bargraphs is object for indication of analog value. Type type is defined by property FloodType and default
type is BottomToTop.
BottomToTop
TopToBottom
LeftToRight
RightToLeft
The object is identified by ID and all objects placed on the same page must have unique ID > 0. More
bargraphs placed on different pages can use the same ID.
Default bargraph value is 50 and it can be set from 0 to 100.
Maximum number of bargraphs is 256.
Properties
Property Name Data Type Allowed Values
Default Value
Description
Behavior Group
ID
Long
From 1 to 256
1
This number identifies object and it
must be unique for Bargraphs placed
on the same page.
FloodType
Long
BottomToTop := 1
TopToBottom := 2
LeftToRight := 3
RightToLeft := 4
BottomToTop := 1
Defines type of bargraph.
Appearance Group
BackgroundColor Long
Any
Grey
Solid color of object.
BorderColor
Long
Any
BackgroundColor
Solid color of borders.
BorderWidth
Long
Any positive
1
Width of borders in pixels.
FloodColor
Long
Any
Blue
Color of flood.
Functions
SetValue(newvalue As Long) As Boolean
This function sets value of bargraph to newvalue. The newvalue can be from 0 to 100.
GetValue() As Long
This function returns current value of bargraph. Current value can be from 0 to 100.