|
|
|
-- Region Name: USA Map - Anychart 5 --
Region Source
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="#WIDTH#"
height="#HEIGHT#"
id="#CHART_NAME#"
align="">
<param name="movie" value="&ANYCHART_INTEGRATION_KIT./#CHART_TYPE#.swf?XMLFile=#HOST#apex_util.flash?p=&APP_ID.:13:&APP_SESSION.:FLOW_FLASH_CHART_R#REGION_ID#">
<param name="quality" value="high">
<param name="allowScriptAccess" value="sameDomain">
<param name="allowNetworking" value="all">
<param name="scale" value="noscale">
<param name="wmode" value="transparent">
<param name="FlashVars" value="waiting=#FLASH_WAITING#&loading=#FLASH_LOADING#">
<embed src="&ANYCHART_INTEGRATION_KIT./#CHART_TYPE#.swf?XMLFile=#HOST#apex_util.flash?p=&APP_ID.:13:&APP_SESSION.:FLOW_FLASH_CHART_R#REGION_ID#"
quality="high"
width="#WIDTH#"
height="#HEIGHT#"
name="#CHART_NAME#"
scale="noscale"
align=""
allowScriptAccess="sameDomain"
allowNetworking="all"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
wmode="transparent"
FlashVars="waiting=#FLASH_WAITING#&loading=#FLASH_LOADING#">
</embed>
</object>
#CHART_REFRESH#
Series Queries
Series 1
select null link, REGION label, SALES "{n:Sales;tr:t1}" from STATE_SALES
Chart XML
<?xml version = "1.0" encoding="utf-8" standalone = "yes"?> <anychart> <settings> <maps path_type="Absolute" path=""/> </settings> <charts> <chart plot_type="Map" use_anychart3_data_model="true" use_sets_colors="false"> <thresholds> <threshold name="T1" palette="P1" range_count="3" type="EqualSteps" auto_value="{%Value}"/> </thresholds> <palettes> <palette name="P1"> <item color="#E06232" /> <item color="#E0D231" /> <item color="#6CAC32" /> </palette> </palettes> <data_plot_settings> <map_series source="&ANYCHART_5./swf/maps/usa/country/states.amap"> <defined_map_region> <label_settings enabled="true"> <format><![CDATA[{%Name}]]></format> <background enabled="false"/> <font size="9" color="#292929"/> </label_settings> <tooltip_settings enabled="true"> <format><![CDATA[{%REGION_NAME} ({%Name}) - ${%Value} ]]></format> </tooltip_settings> </defined_map_region> <grid> <parallels enabled="false"/> <meridians enabled="false"/> <background enabled="false"/> </grid> </map_series> </data_plot_settings> <chart_settings> <title> <text>USA Sales Map</text> </title> </chart_settings> #DATA# </chart> </charts> </anychart>
|
|
|
Region | Sales |
| AK | 38,644.35 |
| AL | 157,052.92 |
| AR | 158,577.93 |
| AZ | 146,125.22 |
| CA | 133,264.22 |
| CO | 89,602.01 |
| CT | 66,562.55 |
| DC | 123,677.44 |
| DE | 151,090.37 |
| FL | 83,799.75 |
| GA | 179,456.19 |
| HI | 78,913.50 |
| IA | 164,033.13 |
| ID | 68,117.04 |
| IL | 182,322.53 |
|
|
|
 |
|
|
|
|
|