AmyJohnson
-
Content count
5 -
Joined
-
Last visited
Posts posted by AmyJohnson
-
-
Hello, I am using FusionMaps XT ver. 3.3.1 and trying to get the Entityrollover event to register. Here is my code (copied from the example in documentation)
<script type="text/javascript" src="fusion_charts/common_js/FusionCharts.js"></script>
<script type="text/javascript" src="fusion_charts/common_js/jquery.min.js"></script>
</head>
<body>
<div id="details"> </div>
<div id="mapContainer">FusionMaps XT will load here!</div>
<script type="text/javascript"><!--
var myMap = new FusionCharts( "fusion_charts/FusionMaps/Maps/FCMap_World.swf", "myMapId", "400", "300", "0" );
myMap.setXMLUrl("Data.xml");
myMap.render("mapContainer");
function myChartListener(eventObject, argumentsObject){
alert ("in entity");
}
FusionCharts("myMapId").addEventListener ("EntityRollover" , myChartListener );
// -->
</script>
Here is my XML:
<map borderColor='005879' fillColor='D7F4FF' numberSuffix=' Mill.' includeValueInLabels='1' labelSepChar=': ' baseFontSize='9'>
<data>
<entity id='NA' value='515' />
<entity id='SA' value='373' />
<entity id='AS' value='3875' />
<entity id='EU' value='727' />
<entity id='AF' value='885' />
<entity id='AU' value='32' />
</data>
</map>
Thanks for any help
-
I'm just using the code you have in the PowerCharts/gallery/dragnode directory.I've attached the file. It does not include the js files you listed in it so now I'm really confused as to what I need to include.
-
I'm just using the code you have in the PowerCharts/gallery/dragnode directory. It looks like this
Hi,
Please note, to plot a Chart from PowerCharts pack, you would need to add following .js files in your project,
> FusionCharts.js
> FusionCharts.HC.js
> FusionCharts.HC.PowerCharts.js
> jquery.min.js
Can you paste your sample code and XML here? It would be helpful to look into the issue.
Awaiting your response.
-
Hello, I am learning PowerCharts and am using the sample DragNode code. I am curious about all the javascript and css includes and whether they are necessary. For instance, there is prettify.js, gallery_helper.js, and prettify.css. When I delete them, it appears to work fine.
Want to get entity info from mouse click
in Using FusionMaps XT
Posted · Report reply
Is there a way to capture the entity id/value from a mouse click?
Thanks in advance