01 |
<?xml version="1.0" encoding="UTF-8"?> |
02 |
<anychart> |
03 |
<settings> |
04 |
<animation enabled="true" /> |
05 |
</settings> |
06 |
<templates> |
07 |
<template name="gaugesTemplate"> |
08 |
<gauge> |
09 |
<linear_template name="bulletGraphTemplate" orientation="Vertical"> |
10 |
<styles> |
11 |
<color_range_style name="anychart_default" start_size="%AxisSize" end_size="%AxisSize"> |
12 |
<fill color="%Color" /> |
13 |
<border enabled="true" color="Black" opacity="0.2" /> |
14 |
</color_range_style> |
15 |
<bar_pointer_style name="pt1" width="10" color="#292929" /> |
16 |
<marker_pointer_style name="pt2" width="20" height="3" shape="Rectangle" color="#292929" align="Center"> |
17 |
<effects enabled="false" /> |
18 |
</marker_pointer_style> |
19 |
</styles> |
20 |
<axis size="40"> |
21 |
<scale_line enabled="false" /> |
22 |
<minor_tickmark enabled="false" /> |
23 |
</axis> |
24 |
<pointers> |
25 |
<tooltip enabled="true" /> |
26 |
<animation enabled="true" start_time="0" duration="0.3" interpolation_type="Cubic" /> |
27 |
</pointers> |
28 |
</linear_template> |
29 |
</gauge> |
30 |
</template> |
31 |
</templates> |
32 |
<gauges> |
33 |
<gauge template="gaugesTemplate"> |
34 |
<chart_settings> |
35 |
<title> |
36 |
<text><![CDATA[Bullet Graph Demo]]></text> |
37 |
</title> |
38 |
</chart_settings> |
39 |
<linear template="bulletGraphTemplate" x="0" width="20"> |
40 |
<axis position="58"> |
41 |
<scale minimum="0" maximum="300" major_interval="50" /> |
42 |
<color_ranges> |
43 |
<color_range start="0" end="200" color="#ABABAB" /> |
44 |
<color_range start="200" end="250" color="#CDCDCD" /> |
45 |
<color_range start="250" end="300" color="#DDDDDD" /> |
46 |
</color_ranges> |
47 |
</axis> |
48 |
<pointers> |
49 |
<pointer type="Bar" value="274" style="pt1" color="Black" /> |
50 |
<pointer type="Marker" value="258" style="pt2" color="Black"> |
51 |
<animation start_time="0.1" /> |
52 |
</pointer> |
53 |
</pointers> |
54 |
</linear> |
55 |
<linear template="bulletGraphTemplate" x="20" width="20"> |
56 |
<axis position="58"> |
57 |
<scale minimum="0" maximum="30" major_interval="5" /> |
58 |
<color_ranges> |
59 |
<color_range start="0" end="20" color="#ABABAB" /> |
60 |
<color_range start="20" end="25" color="#CDCDCD" /> |
61 |
<color_range start="25" end="30" color="#DDDDDD" /> |
62 |
</color_ranges> |
63 |
<labels> |
64 |
<format><![CDATA[{%Value}{numDecimals:0}%]]></format> |
65 |
</labels> |
66 |
</axis> |
67 |
<pointers> |
68 |
<pointer type="Bar" value="23.5" style="pt1" color="Black" /> |
69 |
<pointer type="Marker" value="27.9" style="pt2" color="Black"> |
70 |
<animation start_time="0.1" /> |
71 |
</pointer> |
72 |
</pointers> |
73 |
</linear> |
74 |
<linear template="bulletGraphTemplate" x="40" width="20"> |
75 |
<axis position="58"> |
76 |
<scale minimum="0" maximum="600" major_interval="100" /> |
77 |
<color_ranges> |
78 |
<color_range start="0" end="400" color="#ABABAB" /> |
79 |
<color_range start="400" end="500" color="#CDCDCD" /> |
80 |
<color_range start="500" end="600" color="#DDDDDD" /> |
81 |
</color_ranges> |
82 |
</axis> |
83 |
<pointers> |
84 |
<pointer type="Bar" value="325.67" style="pt1" color="Black" /> |
85 |
<pointer type="Marker" value="561.2" style="pt2" color="Black"> |
86 |
<animation start_time="0.1" /> |
87 |
</pointer> |
88 |
</pointers> |
89 |
</linear> |
90 |
<linear template="bulletGraphTemplate" x="60" width="20"> |
91 |
<axis position="58"> |
92 |
<scale minimum="0" maximum="2500" major_interval="500" /> |
93 |
<color_ranges> |
94 |
<color_range start="0" end="1500" color="#ABABAB" /> |
95 |
<color_range start="1500" end="2000" color="#CDCDCD" /> |
96 |
<color_range start="2000" end="2500" color="#DDDDDD" /> |
97 |
</color_ranges> |
98 |
</axis> |
99 |
<pointers> |
100 |
<pointer type="Bar" value="1661.23" style="pt1" color="Black" /> |
101 |
<pointer type="Marker" value="2076.12" style="pt2" color="Black"> |
102 |
<animation start_time="0.1" /> |
103 |
</pointer> |
104 |
</pointers> |
105 |
</linear> |
106 |
<linear template="bulletGraphTemplate" x="80" width="20"> |
107 |
<axis position="58"> |
108 |
<scale minimum="0" maximum="5" major_interval="1" /> |
109 |
<color_ranges> |
110 |
<color_range start="0" end="3" color="#ABABAB" /> |
111 |
<color_range start="3" end="4" color="#CDCDCD" /> |
112 |
<color_range start="4" end="5" color="#DDDDDD" /> |
113 |
</color_ranges> |
114 |
</axis> |
115 |
<pointers> |
116 |
<pointer type="Bar" value="4.51" style="pt1" color="Black" /> |
117 |
<pointer type="Marker" value="4.36" style="pt2" color="Black"> |
118 |
<animation start_time="0.1" /> |
119 |
</pointer> |
120 |
</pointers> |
121 |
</linear> |
122 |
</gauge> |
123 |
</gauges> |
124 |
</anychart> |