jfetner

Members
  • Content count

    3
  • Joined

  • Last visited

About jfetner

  • Rank
    Forum Newbie
  1. I am using an AJAX call to load my charts. Occassionally I get an error on some of the charts. It seems to be random so I am wondering if it may be related to loading the charts via AJAX? This is the error I get: Collection was modified; enumeration operation may not execute. at System.Collections.Hashtable.HashtableEnumerator.MoveNext() at InfoSoftGlobal.FusionCharts.FC_Transform(Hashtable arr, String tFormat, Boolean ignoreBlankValues) at InfoSoftGlobal.FusionCharts.fc_encodeJSON(Hashtable json, Boolean enclosed) at InfoSoftGlobal.FusionCharts.RenderChartALL(String chartSWF, String dataUrl, String dataStr, String chartId, String chartWidth, String chartHeight, Boolean debugMode, Boolean registerWithJS, Boolean allowTransparent, String bgColor, String scaleMode, String language) at InfoSoftGlobal.FusionCharts.RenderChart(String chartSWF, String dataUrl, String dataStr, String chartId, String chartWidth, String chartHeight, Boolean debugMode, Boolean registerWithJS)
  2. If one of my linked charts has a javascript link the linked chart fails to load with an Invalid xml error. The linked chart loads correctly when I remove the link and if I load the linked chart separatly it also works. Here is an example: (See the 2004-quarterly linked chart). <chart caption='Yearly sales' xAxisName='Year' yAxisName='Sales'> <set label='2004' value='37800' link='newchart-xml-2004-quarterly' /> <set label='2005' value='21900' link='newchart-xml-2005-quarterly' /> <set label='2006' value='32900' link='newchart-xml-2006-quarterly' /> <set label='2007' value='39800' link='newchart-xml-2007-quarterly' /> <linkeddata id='2004-quarterly'> <chart caption='Quarterly Sales Summary' subcaption='For the year 2004' xAxisName='Quarter' yAxisName='Sales' > <set label='Q1' value='3700' link='JavaScript: isJavaScriptCall=true; drillDownToLink("location");'/> <set label='Q2' value='2900' /> <set label='Q3' value='3200' /> <set label='Q4' value='3900' /> </chart> </linkeddata> <linkeddata id='2005-quarterly'> <chart caption='Quarterly Sales Summary' subcaption='For the year 2005' xAxisName='Quarter' yAxisName='Sales'> <set label='Q1' value='7800' /> <set label='Q2' value='2100' /> <set label='Q3' value='3290' /> <set label='Q4' value='3800' /> </chart> </linkeddata> <linkeddata id='2006-quarterly'> <chart caption='Quarterly Sales Summary' subcaption='For the year 2006' xAxisName='Quarter' yAxisName='Sales'> <set label='Q1' value='3800' /> <set label='Q2' value='2190' /> <set label='Q3' value='3290' /> <set label='Q4' value='3980' /> </chart> </linkeddata> <linkeddata id='2007-quarterly'> <chart caption='Quarterly Sales Summary' subcaption='For the year 2007' xAxisName='Quarter' yAxisName='Sales'> <set label='Q1' value='3780' /> <set label='Q2' value='1900' /> <set label='Q3' value='2900' /> <set label='Q4' value='9800' /> </chart> </linkeddata> </chart>
  3. I want to give the user of my chart the ability to view the data either as a pie or bar chart. I have a button that changes the chart type via the Fusion Chart jquery plugin. I also need to change the showLabels attribute when changing the chart type. Changing this attribute causes the animation of the chart to work incorrectly or not at all. You can reproduce this bug using your own sample located here: http://docs.fusionch...ChangeType.html Just change the updateChart js function from: function updateChart() { $("#chartContainer").updateFusionCharts({ swfUrl: "../../../Charts/Pie3D.swf" }); } To: function updateChart() { $("#chartContainer").updateFusionCharts({ swfUrl: "../../../Charts/Pie3D.swf" }); $("#chartContainer").attrFusionCharts("showLabels", "1"); } Is there any current work around for this bug?