01 |
<?xml version="1.0" encoding="UTF-8"?> |
02 |
< anychart > |
03 |
< settings > |
04 |
< resources path_type = "RelativeToHTML" /> |
05 |
</ settings > |
06 |
< gauges > |
07 |
< gauge > |
08 |
< chart_settings > |
09 |
< title > |
10 |
< font size = "14" color = "White" /> |
11 |
< text > <![CDATA[ Petroleum Yearly Consumption vs. Reserves ]]> </ text > |
12 |
</ title > |
13 |
< chart_background > |
14 |
< border color = "Black" /> |
15 |
< corners type = "Square" /> |
16 |
< fill type = "image" image_url = "./img/background.jpg" opacity = "0.5" /> |
17 |
</ chart_background > |
18 |
</ chart_settings > |
19 |
< linear width = "20" name = "consumption" > |
20 |
< margin bottom = "20" left = "5" right = "5" /> |
21 |
< axis size = "40" position = "55" > |
22 |
< scale_bar enabled = "false" /> |
23 |
< scale minimum = "1" maximum = "1000" major_interval = "10" minor_interval = "5" type = "Logarithmic" /> |
24 |
< labels show_last = "true" > |
25 |
< font size = "14" bold = "true" /> |
26 |
</ labels > |
27 |
< major_tickmark length = "5" > |
28 |
< border thickness = "2" /> |
29 |
</ major_tickmark > |
30 |
</ axis > |
31 |
< frame enabled = "true" > |
32 |
< background > |
33 |
< border color = "Black" enabled = "true" /> |
34 |
< fill color = "White" opacity = "0.6" /> |
35 |
</ background > |
36 |
</ frame > |
37 |
< pointers > |
38 |
< pointer type = "Tank" name = "barrels" value = "30" editable = "true" > |
39 |
< label enabled = "true" > |
40 |
< font color = "White" size = "14" /> |
41 |
< background enabled = "false" /> |
42 |
< position placement_mode = "ByRectangle" x = "10" y = "119" spread = "true" /> |
43 |
< format > <![CDATA[ Consumption: {%Value} bln. barrels per year ]]> </ format > |
44 |
</ label > |
45 |
< tooltip > |
46 |
< format > <![CDATA[ {%Value} bln. barrels ]]> </ format > |
47 |
</ tooltip > |
48 |
</ pointer > |
49 |
</ pointers > |
50 |
</ linear > |
51 |
< circular name = "time" x = "20" width = "80" > |
52 |
< margin bottom = "20" /> |
53 |
< styles > |
54 |
< needle_pointer_style name = "style1" thickness = "2" point_radius = "5" point_thickness = "2" base_radius = "0" radius = "85" > |
55 |
< fill type = "Solid" color = "Black" /> |
56 |
< cap enabled = "true" radius = "10" > |
57 |
< background enabled = "true" > |
58 |
< fill enabled = "true" color = "Rgb(170,170,170)" /> |
59 |
</ background > |
60 |
< effects enabled = "true" > |
61 |
< bevel enabled = "true" distance = "2" /> |
62 |
</ effects > |
63 |
</ cap > |
64 |
</ needle_pointer_style > |
65 |
</ styles > |
66 |
< axis radius = "50" start_angle = "90" sweep_angle = "180" > |
67 |
< scale minimum = "0" major_interval = "10" minor_interval = "5" /> |
68 |
< labels show_first = "true" > |
69 |
< font size = "14" bold = "true" /> |
70 |
</ labels > |
71 |
< scale_bar enabled = "false" /> |
72 |
</ axis > |
73 |
< frame > |
74 |
< background > |
75 |
< fill opacity = "0.75" /> |
76 |
</ background > |
77 |
< outer_stroke enabled = "false" /> |
78 |
< inner_stroke enabled = "true" thickness = "10" > |
79 |
< border enabled = "false" /> |
80 |
< fill enabled = "true" type = "Gradient" > |
81 |
< gradient type = "Radial" > |
82 |
< key color = "#1B1B1B" position = "0.9" /> |
83 |
< key color = "#6F6F6F" position = "0.94" /> |
84 |
< key color = "#000000" position = "1" /> |
85 |
</ gradient > |
86 |
</ fill > |
87 |
</ inner_stroke > |
88 |
< effects > |
89 |
< drop_shadow enabled = "true" distance = "2" opacity = "0.3" /> |
90 |
</ effects > |
91 |
</ frame > |
92 |
< pointers use_hand_cursor = "false" allow_select = "false" editable = "false" > |
93 |
< tooltip enabled = "true" /> |
94 |
< pointer type = "Needle" value = "90" style = "style1" name = "years" > |
95 |
< tooltip > |
96 |
< format > <![CDATA[ {%Value}{numDecimals:0} years ]]> </ format > |
97 |
</ tooltip > |
98 |
< label enabled = "true" > |
99 |
< font color = "White" size = "14" /> |
100 |
< background enabled = "false" /> |
101 |
< position placement_mode = "ByRectangle" x = "50" y = "125" spread = "true" /> |
102 |
< format > <![CDATA[ Years left before exhaustion: {%Value}{numDecimals:0} ]]> </ format > |
103 |
</ label > |
104 |
</ pointer > |
105 |
</ pointers > |
106 |
</ circular > |
107 |
</ gauge > |
108 |
</ gauges > |
109 |
</ anychart > |