BrianHanley
Members-
Content count
6 -
Joined
-
Last visited
Everything posted by BrianHanley
-
I am trying to test rendering a 2D Doughnut chart via JavaScript so I have the Flash player in Firefox disabled. When I try and load the chart, Firebug reports the following error: #25081850 FusionCharts::RendererManager >> There was an error rendering the chart. Can anyone help me understand the issue? The chart renders fine via Flash. Thanks.
-
I can confirm this is an error with the desktop browser. When the Flash plug-in is enabled, the chart renders fine. If I disable the plug-in, I get the renderer error. Hitting the same page from my iPhone has no problem at all (chart renders via JavaScript). Sounds like this is a bug? It is pretty reasonable to assume some people could have this plug-in disabled for any number of reasons.
-
You read my mind! http://www.mystikspiral.net/NewFusionCharts/FlashTest.html I made the change as you were editing your post. It does render via JavaScript. My issue now is why the mechanics seem off? Is it by virtue of the fact that the Flash player is there but disabled?
-
I deployed a page where you can replicate the error: http://www.mystikspiral.net/NewFusionCharts/FlashTest.html Running in Firefox, the chart will render fine in Flash. Then disable the Flash player and you will get the error I referenced above. --Brian
-
I am using version 3.2.
-
I should note that everything renders fine in Flash. This issue is only moving from Flash to JavaScript. Here is the code: <script src="fusion/charts/FusionCharts.js" type="text/javascript"></script> <div id="chartContainer">FusionCharts will load here</div> <script type="text/javascript"><!-- var sDataXML = "<chart isSliced='0' streamlinedData='0' showPercentValues='1' isHollow='0' showLabelsAtCenter='0' chartBottomMargin='20'>" + "<set label='Retirement' value='50'/><set label='Vacation Home' value='14'/><set label='College' value='10'/><set label='Boat' value='9'/><set label='Camper' value='2'/><set label='World Travel' value='10'/><set label='Wedding' value='5'/>" + "<styles><definition><style type='font' name='captionFont' size='15' color='000000' /><style type='font' name='subCaptionFont' color='555555' /><\/definition><application><apply toObject='CAPTION' styles='captionFont' /><apply toObject='SUBCAPTION' styles='subCaptionFont' /><\/application><\/styles><\/chart>"; var myChart = new FusionCharts( "fusion/charts/Doughnut2D.swf", "myChartId", "400", "300", "0", "1" ); myChart.setXMLData(sDataXML); myChart.render("chartContainer"); // --> </script> </div>