This applet consists of a needle that moves in an arc against a fixed background to indicate values of a DataHub point.
Parameter | Type | Default | Description |
---|---|---|---|
needlecolor | Color | RED | The color of the needle. |
pincolor | Color | RED | The color of the pin, which is the dot at the pivot point of the needle. |
needlelength | int | 50 | The length of the needle, in pixels. |
basex | int | 0 | The x coordinates of the pivot point of the needle. |
basey | int | 0 | The y coordinate of the pivot point of the needle. |
pinradius | int | 5 | The size of the pin. |
startvalue | double | 0 | The point value associated with the start of the arc through which the needle travels. |
endvalue | double | 100 | The point value associated with the end of the arc through which the needle travels. |
rangedegrees | double | 180 | The number of degrees of the arc through which the needle will travel. |
startdegrees | double | 0 | The beginning point of the arc through which the needle will travel. Degrees start at a 3 o'clock position and increase in an anticlockwise direction. So a start point of zero and a range of 180 will give a half circle arc on the horizontal. |
gaugeimage | string | null | The filename for a background image for the gauge. |
editable | boolean | false | Allows the viewer to move the needle and change the value. |
label1 to label10 | string | null | You can add up to 10 text labels which will be displayed in front of the background image. |
labelx1 to labelx10 | int | 0 | The x coordinates for the center of each text label. |
labely1 to labely10 | int | 0 | The y coordinates for the center of each text label. |
labelfont1 to labelfont10 | Font | null | The font for each text label. |
labelcolor1 to labelcolor10 | Color | RED | The color for each text label. |
valuex | int | 0 | The x coordinates of a label that shows the value associated with the data point. |
valuey | int | 0 | The y coordinates of a label that shows the value associated with the data point. |
valuefont | Font | null | The font for the value label. |
valueformat | string | null | The format of the value label. |
valuecolor | Color | RED | The color of the value label. |
showvalue | boolean | false | Determines whether the value is shown or hidden. |
step | double | 0 | The minimum value change necessary to reposition the needle. |
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.