01 |
<?xml version="1.0" encoding="UTF-8"?> |
02 |
< anychart > |
03 |
< charts > |
04 |
< chart plot_type = "Map" name = "USA" > |
05 |
< chart_settings > |
06 |
< title enabled = "true" > |
07 |
< text > <![CDATA[ The United States of America ]]> </ text > |
08 |
</ title > |
09 |
< chart_background enabled = "True" /> |
10 |
< data_plot_background enabled = "false" /> |
11 |
< footer enabled = "true" > |
12 |
< text > <![CDATA[ Click on a state to see state's counties ]]> </ text > |
13 |
< background > |
14 |
< border type = "Solid" color = "#AAAAAA" enabled = "True" opacity = "0.5" /> |
15 |
< inside_margin top = "5" bottom = "5" /> |
16 |
</ background > |
17 |
</ footer > |
18 |
</ chart_settings > |
19 |
< data_plot_settings > |
20 |
< map_series source = "usa/country/states.amap" > |
21 |
< projection type = "orthographic" /> |
22 |
< undefined_map_region palette = "undefPalette" > |
23 |
< label_settings enabled = "True" > |
24 |
< format > <![CDATA[ {%REGION_ID} ]]> </ format > |
25 |
< position anchor = "Center" valign = "Center" halign = "Center" /> |
26 |
< font color = "#404040" /> |
27 |
</ label_settings > |
28 |
< actions > |
29 |
< action type = "updateChart" view = "State" source_mode = "internalData" source = "State" > |
30 |
< replace token = "{$region_amap}" > <![CDATA[ {%REGION_ID} ]]> </ replace > |
31 |
< replace token = "{$title}" > <![CDATA[ {%REGION_NAME} ]]> </ replace > |
32 |
</ action > |
33 |
</ actions > |
34 |
< tooltip_settings enabled = "true" > |
35 |
< format > <![CDATA[ {%REGION_NAME} ]]> </ format > |
36 |
</ tooltip_settings > |
37 |
< map_region_style > |
38 |
< fill type = "Gradient" > |
39 |
< gradient angle = "45" > |
40 |
< key color = "%Color" /> |
41 |
< key color = "Blend(%Color,Gray,0.9)" /> |
42 |
</ gradient > |
43 |
</ fill > |
44 |
< states > |
45 |
< hover color = "#FAFFEE" > |
46 |
< hatch_fill enabled = "True" type = "Percent50" color = "#204E83" opacity = "0.5" /> |
47 |
< border color = "#204E83" opacity = "1" /> |
48 |
</ hover > |
49 |
< pushed color = "#FAFFEE" > |
50 |
< hatch_fill enabled = "True" type = "Percent50" color = "#204E83" opacity = "1" /> |
51 |
< border color = "#204E83" opacity = "1" /> |
52 |
</ pushed > |
53 |
< selected_hover color = "#FAFFEE" > |
54 |
< hatch_fill enabled = "True" type = "Percent50" color = "#204E83" opacity = "0.5" /> |
55 |
< border color = "#204E83" opacity = "1" /> |
56 |
</ selected_hover > |
57 |
< selected_normal color = "#FAFFEE" > |
58 |
< hatch_fill enabled = "True" type = "Percent50" color = "#204E83" opacity = "1" /> |
59 |
< border color = "#204E83" opacity = "1" /> |
60 |
</ selected_normal > |
61 |
</ states > |
62 |
</ map_region_style > |
63 |
</ undefined_map_region > |
64 |
< effects > |
65 |
< drop_shadow enabled = "True" distance = "2" opacity = "0.5" /> |
66 |
</ effects > |
67 |
</ map_series > |
68 |
</ data_plot_settings > |
69 |
< palettes > |
70 |
< palette name = "undefPalette" type = "ColorRange" color_count = "10" > |
71 |
< gradient > |
72 |
< key color = "#F8FDE9" /> |
73 |
< key color = "#DCDD8C" /> |
74 |
</ gradient > |
75 |
</ palette > |
76 |
</ palettes > |
77 |
</ chart > |
78 |
< chart plot_type = "Map" name = "State" > |
79 |
< chart_settings > |
80 |
< title > |
81 |
< text > <![CDATA[ {$title} ]]> </ text > |
82 |
</ title > |
83 |
< chart_background enabled = "True" /> |
84 |
< data_plot_background enabled = "false" /> |
85 |
< footer enabled = "true" > |
86 |
< text > <![CDATA[ Back to USA Map ]]> </ text > |
87 |
< font bold = "True" underline = "True" /> |
88 |
< actions > |
89 |
< action type = "updateChart" source_mode = "internalData" source = "USA" /> |
90 |
</ actions > |
91 |
< background > |
92 |
< border type = "Solid" color = "#AAAAAA" enabled = "True" /> |
93 |
< inside_margin top = "5" bottom = "5" /> |
94 |
</ background > |
95 |
</ footer > |
96 |
</ chart_settings > |
97 |
< data_plot_settings > |
98 |
< map_series source = "usa/states/counties/{$region_amap}.amap" > |
99 |
< projection type = "orthographic" /> |
100 |
< undefined_map_region palette = "undefPalette" > |
101 |
< tooltip_settings enabled = "true" > |
102 |
< format > <![CDATA[ {%REGION_NAME} ]]> </ format > |
103 |
</ tooltip_settings > |
104 |
< map_region_style > |
105 |
< fill type = "Gradient" > |
106 |
< gradient angle = "45" > |
107 |
< key color = "%Color" /> |
108 |
< key color = "Blend(%Color,Gray,0.9)" /> |
109 |
</ gradient > |
110 |
</ fill > |
111 |
< states > |
112 |
< hover color = "#FAFFEE" > |
113 |
< hatch_fill enabled = "True" type = "Percent50" color = "#204E83" opacity = "0.5" /> |
114 |
< border color = "#204E83" opacity = "1" /> |
115 |
</ hover > |
116 |
< pushed color = "#FAFFEE" > |
117 |
< hatch_fill enabled = "True" type = "Percent50" color = "#204E83" opacity = "1" /> |
118 |
< border color = "#204E83" opacity = "1" /> |
119 |
</ pushed > |
120 |
< selected_hover color = "#FAFFEE" > |
121 |
< hatch_fill enabled = "True" type = "Percent50" color = "#204E83" opacity = "0.5" /> |
122 |
< border color = "#204E83" opacity = "1" /> |
123 |
</ selected_hover > |
124 |
< selected_normal color = "#FAFFEE" > |
125 |
< hatch_fill enabled = "True" type = "Percent50" color = "#204E83" opacity = "1" /> |
126 |
< border color = "#204E83" opacity = "1" /> |
127 |
</ selected_normal > |
128 |
</ states > |
129 |
</ map_region_style > |
130 |
</ undefined_map_region > |
131 |
< effects > |
132 |
< drop_shadow enabled = "True" distance = "2" opacity = "0.5" /> |
133 |
</ effects > |
134 |
</ map_series > |
135 |
</ data_plot_settings > |
136 |
< palettes > |
137 |
< palette name = "undefPalette" type = "ColorRange" color_count = "10" > |
138 |
< gradient > |
139 |
< key color = "#F8FDE9" /> |
140 |
< key color = "#DCDD8C" /> |
141 |
</ gradient > |
142 |
</ palette > |
143 |
</ palettes > |
144 |
</ chart > |
145 |
</ charts > |
146 |
</ anychart > |