• This web contains the official documentation of the TWiki Release 4.2, code named FreetownRelease. It is a read-only web for reference.
• This is an older release, see TWiki-6.1 for the latest release documentation.
Tags:
create new tag
view all tags
Tests for GaugePlugin

Target Measure Bar Gauge

Value Range
-5 value="-5"
-4 value="-4"
-3 value="-3"
-2 value="-2"
-1 value="-1"
value="0"
1 value="1"
2 value="2"
3 value="3"
4 value="4"
5 value="5"
6 value="6"
7 value="7"
8 value="8"
9 value="9"
10 value="10"
11 value="11"
12 value="12"
13 value="13"
14 value="14"
15 value="15"
16 value="16"
17 value="17"
18 value="18"
19 value="19"
20 value="20"
21 value="21"
22 value="22"
23 value="23"
24 value="24"
25 value="25"
26 value="26"
27 value="27"
28 value="28"
29 value="29"
30 value="30"
31 value="31"
32 value="32"
33 value="33"
34 value="34"
35 value="35"
Error: no arguments at all so arg name is missing
GaugePlugin error: parameter name must be specified
Make sure that more then one gauge can exist on a single line
719
Value not defined
no data Value not defined, default sizes
no data value="", default sizes
no data width="100" height="40", value not defined
no data width="10" height="10", value not defined
Overriding the default colors. Instead of red, yellow, and then green it is green, yellow, and then red
8 value="8" colors="#00FF00 #CCFFCC #FFFF00 #FFFFCC #FF0000 #FFCCCC"
19 value="19" colors="#00FF00 #CCFFCC #FFFF00 #FFFFCC #FF0000 #FFCCCC"
54 value="54" colors="#00FF00 #CCFFCC #FFFF00 #FFFFCC #FF0000 #FFCCCC"
Overriding the default tambar scale 0, 33, 67, 100
58 value="58" scale="0 40 80 120"
5 value="5" scale="-10 0 10 20"
-5 value="-5" scale="-10 0 10 20"
350 value="350" scale="100 200 300 400"
17.7 value="17.7" scale="0, 15.8, 22.5, 29.3"
600 value="600" scale="800 200 100 -100"
150 value="150" scale="800 200 100 -100"
75 value="75" scale="800 200 100 -100"
-75 value="-75" scale="800 200 100 -100"
-175 value="-175" scale="-100 -200 -400 -800"
-375 value="-375" scale="-100 -200 -400 -800"
-675 value="-675" scale="-100 -200 -400 -800"
-50 value="-50" scale="-100 -200 -400 -800"
-900 value="-900" scale="-100 -200 -400 -800"
Overriding the default tambar height 16
15 value="15" height="40"
15 value="15" height="8"
Overriding the default tambar width 60
15 value="15" width="140"
Override the alt parameter
The actual value is 15 value="15" alt="The actual value is 15"
Overriding everything on the tambar
75 value="75" colors="#00FF00 #CCFFCC #FFFF00 #FFFFCC #FF0000 #FFCCCC" scale="0,33,66,100" height="32" width="140"
9 Now go back to using just default values, with value="9"
Add some additional IMG options
13 Align value="13" align="top"
13 Align value="13" align="bottom"
13 Align value="13" align="middle"
13 Align value="13" align="left"
13 Align value="13" align="right"
Specify a border around the image
26 value="26" border="5"

Trend Gauge

Trend gauge with different value
-1 value="-1"
value="0"
1 value="1"
-100 value="-100"
-0 value="-0"
100 value="100"
+100 value="+100"
Missing name or value parameters
1 type="trend" value="1" (No name specified)
no data type="trend" name="trendNoValue" (No value specified)
no data type="trend" (No name and value specified)
Specifying alt tag
This is an alt tag value="1" alt="This is an alt tag"
Change the size
1 value="1" width="50" height="50"
1 value="1" width="50" height="100"
1 value="1" width="100" height="50"
1 value="1" width="100"
1 value="1" height="100"

Invalid Gauge

Try an invalid type gauge
GaugePlugin error: Unknown gauge type 'bad' type="bad" value="1"

Four-range Gauge

Try 4-ranges gauge
136 value="136" scale="0 40 80 120 160" colors="#00FF00 #CCFFCC #FFFF00 #FFFFCC #FF0000 #FFCCCC #0000FF #CCCCFF"

-- TaitCyrus - 20 May 2002
-- PeterThoeny - 20 May 2002
-- AndrzejGoralczyk - 15 Jul 2004

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2004-07-15 - AndrzejGoralczyk
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback