01 |
<?xml version="1.0" encoding="UTF-8"?> |
02 |
< anychart > |
03 |
< settings > |
04 |
< animation enabled = "true" /> |
05 |
</ settings > |
06 |
< gauges > |
07 |
< gauge > |
08 |
< chart_settings > |
09 |
< title > |
10 |
< text > <![CDATA[ Gauge with Color Ranges ]]> </ text > |
11 |
</ title > |
12 |
</ chart_settings > |
13 |
< circular > |
14 |
< styles > |
15 |
< color_range_style name = "anychart_default" start_size = "5" end_size = "5" align = "Inside" padding = "40" > |
16 |
< fill enabled = "true" color = "%Color" opacity = "0.7" /> |
17 |
< border enabled = "true" color = "DarkColor(%Color)" opacity = "0.8" /> |
18 |
</ color_range_style > |
19 |
< needle_pointer_style name = "grayNeedle" color = "Rgb(240,240,240)" base_radius = "-30" thickness = "7" > |
20 |
< border color = "Rgb(0,0,0)" opacity = "0.3" /> |
21 |
< effects enabled = "true" > |
22 |
< drop_shadow enabled = "true" distance = "1" blur_x = "2" blur_y = "2" opacity = "0.4" /> |
23 |
</ effects > |
24 |
< cap radius = "2" /> |
25 |
</ needle_pointer_style > |
26 |
</ styles > |
27 |
< axis radius = "50" start_angle = "70" sweep_angle = "220" > |
28 |
< scale minimum = "-150" maximum = "150" major_interval = "25" /> |
29 |
< color_ranges > |
30 |
< color_range start = "-150" end = "-145" color = "Red" /> |
31 |
< color_range start = "-145" end = "-140" color = "Red" /> |
32 |
< color_range start = "-140" end = "-135" color = "Red" /> |
33 |
< color_range start = "-135" end = "-130" color = "Red" /> |
34 |
< color_range start = "-130" end = "-125" color = "Red" /> |
35 |
< color_range start = "-125" end = "-120" color = "Red" /> |
36 |
< color_range start = "-120" end = "-115" color = "Red" /> |
37 |
< color_range start = "-115" end = "-110" color = "Red" /> |
38 |
< color_range start = "-110" end = "-105" color = "Red" /> |
39 |
< color_range start = "-105" end = "-100" color = "Red" /> |
40 |
< color_range start = "-100" end = "-95" color = "Gold" /> |
41 |
< color_range start = "-95" end = "-90" color = "Gold" /> |
42 |
< color_range start = "-90" end = "-85" color = "Gold" /> |
43 |
< color_range start = "-85" end = "-80" color = "Gold" /> |
44 |
< color_range start = "-80" end = "-75" color = "Gold" /> |
45 |
< color_range start = "-75" end = "-70" color = "Gold" /> |
46 |
< color_range start = "-70" end = "-65" color = "Gold" /> |
47 |
< color_range start = "-65" end = "-60" color = "Gold" /> |
48 |
< color_range start = "-60" end = "-55" color = "Gold" /> |
49 |
< color_range start = "-55" end = "-50" color = "Gold" /> |
50 |
< color_range start = "-50" end = "-45" color = "Green" /> |
51 |
< color_range start = "-45" end = "-40" color = "Green" /> |
52 |
< color_range start = "-40" end = "-35" color = "Green" /> |
53 |
< color_range start = "-35" end = "-30" color = "Green" /> |
54 |
< color_range start = "-30" end = "-25" color = "Green" /> |
55 |
< color_range start = "-25" end = "-20" color = "Green" /> |
56 |
< color_range start = "-20" end = "-15" color = "Green" /> |
57 |
< color_range start = "-15" end = "-10" color = "Green" /> |
58 |
< color_range start = "-10" end = "-5" color = "Green" /> |
59 |
< color_range start = "-5" end = "0" color = "Green" /> |
60 |
< color_range start = "0" end = "5" color = "Green" /> |
61 |
< color_range start = "5" end = "10" color = "Green" /> |
62 |
< color_range start = "10" end = "15" color = "Green" /> |
63 |
< color_range start = "15" end = "20" color = "Green" /> |
64 |
< color_range start = "20" end = "25" color = "Green" /> |
65 |
< color_range start = "25" end = "30" color = "Green" /> |
66 |
< color_range start = "30" end = "35" color = "Green" /> |
67 |
< color_range start = "35" end = "40" color = "Green" /> |
68 |
< color_range start = "40" end = "45" color = "Green" /> |
69 |
< color_range start = "45" end = "50" color = "Green" /> |
70 |
< color_range start = "50" end = "55" color = "Gold" /> |
71 |
< color_range start = "55" end = "60" color = "Gold" /> |
72 |
< color_range start = "60" end = "65" color = "Gold" /> |
73 |
< color_range start = "65" end = "70" color = "Gold" /> |
74 |
< color_range start = "70" end = "75" color = "Gold" /> |
75 |
< color_range start = "75" end = "80" color = "Gold" /> |
76 |
< color_range start = "80" end = "85" color = "Gold" /> |
77 |
< color_range start = "85" end = "90" color = "Gold" /> |
78 |
< color_range start = "90" end = "95" color = "Gold" /> |
79 |
< color_range start = "95" end = "100" color = "Gold" /> |
80 |
< color_range start = "100" end = "105" color = "Red" /> |
81 |
< color_range start = "105" end = "110" color = "Red" /> |
82 |
< color_range start = "110" end = "115" color = "Red" /> |
83 |
< color_range start = "115" end = "120" color = "Red" /> |
84 |
< color_range start = "120" end = "125" color = "Red" /> |
85 |
< color_range start = "125" end = "130" color = "Red" /> |
86 |
< color_range start = "130" end = "135" color = "Red" /> |
87 |
< color_range start = "135" end = "140" color = "Red" /> |
88 |
< color_range start = "140" end = "145" color = "Red" /> |
89 |
< color_range start = "145" end = "150" color = "Red" /> |
90 |
</ color_ranges > |
91 |
</ axis > |
92 |
< pointers > |
93 |
< pointer type = "Needle" value = "42.42" style = "grayNeedle" > |
94 |
< tooltip enabled = "true" /> |
95 |
< animation enabled = "true" start_time = "0" duration = "0.7" interpolation_type = "Bounce" /> |
96 |
</ pointer > |
97 |
</ pointers > |
98 |
< frame type = "Auto" > |
99 |
< inner_stroke thickness = "2" /> |
100 |
< outer_stroke thickness = "2" /> |
101 |
</ frame > |
102 |
</ circular > |
103 |
</ gauge > |
104 |
</ gauges > |
105 |
</ anychart > |