AmyJohnson

Members
  • Content count

    5
  • Joined

  • Last visited

Everything posted by AmyJohnson

  1. 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
  2. Is there a way to capture the entity id/value from a mouse click? Thanks in advance
  3. 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.
  4. Javascrip Includes For Powercharts

    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.
  5. Javascrip Includes For Powercharts

    I'm just using the code you have in the PowerCharts/gallery/dragnode directory. It looks like this DragNode1.html