|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2/29/2008 4:08:50 AM
Posts: 6,
Visits: 9
|
|
OS: Windows XP and Vista browser: IE7I 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.
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001,
Visits: 474
|
|
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.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2/29/2008 4:08:50 AM
Posts: 6,
Visits: 9
|
|
| 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..
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 7/29/2008 12:15:49 PM
Posts: 2,001,
Visits: 474
|
|
Bjorn,
I've asked our developers to look into it and would get back to you ASAP.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2/29/2008 4:08:50 AM
Posts: 6,
Visits: 9
|
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2/29/2008 4:08:50 AM
Posts: 6,
Visits: 9
|
|
| 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.
|
|
|
|