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[Complex Knob with Markers and Color Range]]></text>
11         </title>
12       </chart_settings>
13       <circular>
14         <styles>
15           <knob_pointer_style name="anychart_default">
16             <knob_background radius="80" gear_height="5">
17               <border enabled="true" color="#494949" opacity="0.5" />
18               <fill enabled="true" type="Gradient">
19                 <gradient angle="45">
20                   <key color="White" />
21                   <key color="Rgb(220,220,220)" />
22                 </gradient>
23               </fill>
24               <effects enabled="true">
25                 <drop_shadow enabled="true" distance="1" opacity="0.3" />
26               </effects>
27             </knob_background>
28             <cap enabled="true" radius="60">
29               <inner_stroke enabled="false" />
30               <outer_stroke enabled="false" />
31               <background enabled="true">
32                 <fill enabled="true" type="Gradient">
33                   <gradient angle="45">
34                     <key color="White" />
35                     <key color="Rgb(220,220,220)" />
36                   </gradient>
37                 </fill>
38                 <border enabled="true" color="#494949" opacity="0.5" />
39               </background>
40             </cap>
41             <needle radius="90" base_radius="0" thickness="100" point_thickness="0" point_radius="0">
42               <fill color="#F0673B" type="Solid" />
43               <border enabled="true" type="Solid" color="#494949" opacity="0.3" />
44             </needle>
45           </knob_pointer_style>
46           <marker_pointer_style name="anychart_default" shape="Star5" width="20" height="20" align="Center" padding="0">
47             <fill color="Yellow" />
48             <border color="DarkColor(Yellow)" />
49           </marker_pointer_style>
50         </styles>
51         <axis radius="37" start_angle="20" sweep_angle="320">
52           <scale minimum="0" maximum="1" major_interval="0.1" minor_interval="0.05" />
53           <scale_bar enabled="true" width="10">
54             <fill color="#1D8BD1" opacity="0.8" />
55           </scale_bar>
56           <major_tickmark enabled="true" align="Outside" width="2.5" length="10" shape="Rectangle">
57             <fill color="#494949" />
58           </major_tickmark>
59           <minor_tickmark enabled="true" align="Outside" width="2.5" length="5" shape="Rectangle">
60             <fill color="#494949" />
61           </minor_tickmark>
62           <labels enabled="true" align="Outside" padding="12" show_first="true" rotate_circular="false">
63             <format><![CDATA[{%Value}{numDecimals:1}]]></format>
64             <font family="Arial" size="11" bold="true" />
65           </labels>
66           <color_ranges>
67             <color_range start="0.157" end="0.576" start_size="10" end_size="10" align="Center" padding="0">
68               <fill color="Green" opacity="0.4" />
69             </color_range>
70           </color_ranges>
71         </axis>
72         <frame enabled="false" />
73         <pointers>
74           <pointer type="Knob" value="0.4" editable="true">
75             <label enabled="true">
76               <format><![CDATA[{%Value}{numDecimals:2}]]></format>
77               <position placement_mode="ByPoint" x="50" y="50" valign="Center" halign="Center" />
78               <background enabled="false" />
79               <font size="28" family="Arial" bold="true" />
80             </label>
81             <animation enabled="true" start_time="0" duration="0.4" interpolation_type="Circular" />
82           </pointer>
83           <pointer type="Marker" value="0.157" editable="false" allow_select="false" use_hand_cursor="false" />
84           <pointer type="Marker" value="0.576" editable="false" allow_select="false" use_hand_cursor="false" />
85         </pointers>
86       </circular>
87     </gauge>
88   </gauges>
89 </anychart>