Mouse scroll disabled on pie charts
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Mouse scroll disabled on pie charts Expand / Collapse
Author
Message
Posted 12/18/2007 3:01:52 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/29/2008 4:08:50 AM
Posts: 6, Visits: 9
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.

Post #3398
Posted 12/21/2007 1:16:50 PM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 10/3/2008 2:42:18 AM
Posts: 2,117, Visits: 498
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
Post #3465
Posted 12/27/2007 8:02:30 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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..

Post #3534
Posted 1/7/2008 2:36:02 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 10/3/2008 2:42:18 AM
Posts: 2,117, Visits: 498
Bjorn,

I've asked our developers to look into it and would get back to you ASAP.


Thanks,
Pallav Nadhani
FusionCharts Team
Post #3627
Posted 1/7/2008 3:32:40 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/29/2008 4:08:50 AM
Posts: 6, Visits: 9
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.
Post #3648
Posted 1/7/2008 6:32:23 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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.

Post #3672
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 4:10pm


Execution: 0.141.