01 |
<?xml version="1.0" encoding="UTF-8"?> |
02 |
<anychart> |
03 |
<settings> |
04 |
<animation enabled="true" /> |
05 |
</settings> |
06 |
<templates> |
07 |
<template name="gaugeTemplates"> |
08 |
<gauge> |
09 |
<circular_template name="predefined"> |
10 |
<margin all="3" /> |
11 |
<styles> |
12 |
<needle_pointer_style name="small" thickness="7"> |
13 |
<cap radius="5"> |
14 |
<background> |
15 |
<fill type="Solid" color="Rgb(220,220,220)" /> |
16 |
<border enabled="false" /> |
17 |
</background> |
18 |
<inner_stroke enabled="true" thickness="4"> |
19 |
<fill color="Rgb(150,150,150)" /> |
20 |
</inner_stroke> |
21 |
</cap> |
22 |
</needle_pointer_style> |
23 |
</styles> |
24 |
<axis start_angle="180" sweep_angle="90"> |
25 |
<scale minimum="-20" maximum="20" major_interval="10" /> |
26 |
<scale_bar enabled="false" /> |
27 |
<scale_line enabled="true" color="#494949" opacity="0.3" /> |
28 |
</axis> |
29 |
<frame enabled="true" padding="20"> |
30 |
<inner_stroke enabled="false" /> |
31 |
<outer_stroke enabled="false" /> |
32 |
<background> |
33 |
<border enabled="true" color="#494949" opacity="0.3" thickness="2" /> |
34 |
<fill type="Solid" color="White" /> |
35 |
</background> |
36 |
<effects enabled="true" /> |
37 |
</frame> |
38 |
<pointers> |
39 |
<label enabled="true"> |
40 |
<font color="#494949" /> |
41 |
<format><![CDATA[{%Value}{numDecimals:1}]]></format> |
42 |
<position placement_mode="ByPoint" x="51" y="95" /> |
43 |
<background enabled="false" /> |
44 |
</label> |
45 |
<tooltip enabled="true"> |
46 |
<format><![CDATA[Value: {%Value}{numDecimals:1}]]></format> |
47 |
<font bold="true" /> |
48 |
</tooltip> |
49 |
</pointers> |
50 |
</circular_template> |
51 |
</gauge> |
52 |
</template> |
53 |
</templates> |
54 |
<gauges> |
55 |
<gauge template="gaugeTemplates"> |
56 |
<chart_settings> |
57 |
<title> |
58 |
<text><![CDATA[Multiple Circular Gauges]]></text> |
59 |
</title> |
60 |
</chart_settings> |
61 |
<circular template="predefined" x="0" y="0" width="25" height="33.3"> |
62 |
<pointers> |
63 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
64 |
<pointer type="Needle" value="9.5" style="small" color="#4DBC4D" /> |
65 |
</pointers> |
66 |
</circular> |
67 |
<circular template="predefined" x="25" y="0" width="25" height="33.3"> |
68 |
<pointers> |
69 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
70 |
<pointer type="Needle" value="-7.2" style="small" color="#BC3434" /> |
71 |
</pointers> |
72 |
</circular> |
73 |
<circular template="predefined" x="50" y="0" width="25" height="33.3"> |
74 |
<pointers> |
75 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
76 |
<pointer type="Needle" value="-18.7" style="small" color="#BC3434" /> |
77 |
</pointers> |
78 |
</circular> |
79 |
<circular template="predefined" x="75" y="0" width="25" height="33.3"> |
80 |
<pointers> |
81 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
82 |
<pointer type="Needle" value="0" style="small" color="#DFE04B" /> |
83 |
</pointers> |
84 |
</circular> |
85 |
<circular template="predefined" x="0" y="33.3" width="25" height="33.3"> |
86 |
<pointers> |
87 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
88 |
<pointer type="Needle" value="16.5" style="small" color="#4DBC4D" /> |
89 |
</pointers> |
90 |
</circular> |
91 |
<circular template="predefined" x="25" y="33.3" width="25" height="33.3"> |
92 |
<pointers> |
93 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
94 |
<pointer type="Needle" value="0" style="small" color="#DFE04B" /> |
95 |
</pointers> |
96 |
</circular> |
97 |
<circular template="predefined" x="50" y="33.3" width="25" height="33.3"> |
98 |
<pointers> |
99 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
100 |
<pointer type="Needle" value="-12.4" style="small" color="#BC3434" /> |
101 |
</pointers> |
102 |
</circular> |
103 |
<circular template="predefined" x="75" y="33.3" width="25" height="33.3"> |
104 |
<pointers> |
105 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
106 |
<pointer type="Needle" value="4.5" style="small" color="#4DBC4D" /> |
107 |
</pointers> |
108 |
</circular> |
109 |
<circular template="predefined" x="0" y="66.6" width="25" height="33.3"> |
110 |
<pointers> |
111 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
112 |
<pointer type="Needle" value="-9.2" style="small" color="#BC3434" /> |
113 |
</pointers> |
114 |
</circular> |
115 |
<circular template="predefined" x="25" y="66.6" width="25" height="33.3"> |
116 |
<pointers> |
117 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
118 |
<pointer type="Needle" value="17.2" style="small" color="#4DBC4D" /> |
119 |
</pointers> |
120 |
</circular> |
121 |
<circular template="predefined" x="50" y="66.6" width="25" height="33.3"> |
122 |
<pointers> |
123 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
124 |
<pointer type="Needle" value="0" style="small" color="#DFE04B" /> |
125 |
</pointers> |
126 |
</circular> |
127 |
<circular template="predefined" x="75" y="66.6" width="25" height="33.3"> |
128 |
<pointers> |
129 |
<animation enabled="true" start_time="0" duration="0.2" interpolation_type="Cubic" /> |
130 |
<pointer type="Needle" value="-4.1" style="small" color="#BC3434" /> |
131 |
</pointers> |
132 |
</circular> |
133 |
</gauge> |
134 |
</gauges> |
135 |
</anychart> |