Bjorn Report post Posted December 18, 2007 OS: Windows XP and Vista browser: IE7 I created a chart with the following javascript: <script language="javascript" type="text/javascript"> var piechart_typeReferer = new FusionCharts("/charts/v3/pie3d.swf", "mychartId_typeReferer", "100%", "160", "0", "0"); piechart_typeReferer.addParam("wmode", "transparent"); piechart_typeReferer.setDataXML("<graph><set value='10'/><set value='10'/></graph>"); piechart_typeReferer.render('typeReferer_chart'); </script> And placed some extra <br/> on the page so the page is longer than the screen. Everything looks fine until I try to use the scrollbutton when I'am hovering over the flash chart. At that moment the scroll button is disabled (On both the 2d and 3d piechart). I've used the same page to load an Line chart, and then the problem doesn't occur. The problem also doens't occur when I'am using the pie chart and watch the page in Firefox. Is this normal behaviour, and if so, how can i avoid it? Thanks in advance. Share this post Link to post Share on other sites
Pallav Report post Posted December 21, 2007 Hi, In the pie chart, we handle mouse events internally to support slicing and rotation. As such, you'll need to click outside the pie chart once and then scroll. Share this post Link to post Share on other sites
Bjorn Report post Posted December 27, 2007 Hi Pallav, The "you'll need to click outside the pie chart once and then scroll" method only works when you're using the <object> tag, But when I use the javascript approach, clicking outside the chart doesn't make any difference. And i really want to use the javascript method Is there a work arround, or maybe in an update, you could add an extra tag called "disableMouseEvents" or something like that? Just thinking out loud.. Share this post Link to post Share on other sites
Pallav Report post Posted January 7, 2008 Bjorn, I've asked our developers to look into it and would get back to you ASAP. Share this post Link to post Share on other sites
Bjorn Report post Posted January 7, 2008 Well, I saw the demo on http://www.fusioncharts.com//Demos/Blueprint/ and on this page the mouseclick does work. So I am going the check what the difference is between my code, and the code online. Share this post Link to post Share on other sites
Bjorn Report post Posted January 7, 2008 I found the problem Pallav. Because we also have a hovering DIV in the report, we need to use the param piechart.addParam( "wmode", "transparent");If this parameter is set, any mouseover on the flashchart will capture all mouse event, without clicking first. I think a solution like i've posted before could be a way to tackle this problem. Share this post Link to post Share on other sites