FusionCharts Forum: No data to display when number of records exceeds 35 for a single series chart in flex - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

No data to display when number of records exceeds 35 for a single series chart in flex

#1 User is offline   sagarwal 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 02-August 10

Posted 03 August 2010 - 09:27 AM

I have a FusionCharts component in my flex application. Sometimes the chart fails to display with a message "No data to display".

Here is my code that sets the data:

Quote

ID_CHART.FCChartType="Pie2D";

ID_CHART.FCData(_rs.data[0]);

ID_CHART.FCRender();

_rs in this case is:

Quote

<rs>

<data>

<set label="359" value="634184"/>

<set label="1023" value="161708"/>

<set label="336" value="1946873"/>

<set label="121" value="4203368"/>

<set label="1000" value="469043"/>

<set label="785" value="211266"/>

<set label="1472" value="221024"/>

<set label="977" value="58872"/>

<set label="313" value="4243916"/>

<set label="144" value="491916"/>

<set label="808" value="117341"/>

<set label="167" value="1060566"/>

<set label="954" value="459571"/>

<set label="290" value="606544"/>

<set label="831" value="228552"/>

<set label="1495" value="26961"/>

<set label="190" value="13662712"/>

<set label="1192" value="241437"/>

<set label="854" value="234174"/>

<set label="528" value="548667"/>

<set label="1518" value="30444"/>

<set label="213" value="1248459"/>

<set label="877" value="84913"/>

<set label="900" value="757343"/>

<set label="1069" value="259568"/>

<set label="236" value="244697"/>

<set label="1146" value="47466"/>

<set label="482" value="82946"/>

<set label="259" value="3551063"/>

<set label="505" value="2904094"/>

<set label="382" value="317236"/>

<set label="1169" value="101472"/>

<set label="1046" value="191968"/>

<set label="1100" value="16709"/>

<set label="1361" value="101312"/>

<set label="662" value="2900614"/>

<set label="674" value="101559"/>

<set label="459" value="183162"/>

<set label="1395" value="433180"/>

<set label="413" value="3142115"/>

</data>

</rs>

If I remove a few of the datasets above, then the chart renders ok. The magic number in this case seems to be 35 sets. If I go beyond that, the chart fails to render. I have tried to turn debug on, and the times when it doesn't render the chart, it says the error is:

WARNING:Could not find DataXML or DataURL parameter. Setting DataURL to default data file Data.xml.

Note that I am setting the data via the FCData method, not DataURL.

Moreover, this magic number seems to be different for different machines. If I run the same app on a different machine, the chart displays for 10 datasets, but becomes erratic if I provide any more data sets than that, rendering sometimes but not others.

How do I solve this problem? Is there a limit to how many sets I can provide? I have tried this for Column2D also, which has the same problem.


1

Other Replies To This Topic

#2 User is offline   Artur Sch. 

  • Forum Newbie
  • Group: Members
  • Posts: 1
  • Joined: 05-August 11

Posted 05 August 2011 - 11:16 AM

View Postsagarwal, on 03 August 2010 - 09:27 AM, said:

I have a FusionCharts component in my flex application. Sometimes the chart fails to display with a message "No data to display".Here is my code that sets the data:



_rs in this case is:



If I remove a few of the datasets above, then the chart renders ok. The magic number in this case seems to be 35 sets. If I go beyond that, the chart fails to render. I have tried to turn debug on, and the times when it doesn't render the chart, it says the error is:

WARNING:Could not find DataXML or DataURL parameter. Setting DataURL to default data file Data.xml.

Note that I am setting the data via the FCData method, not DataURL.

Moreover, this magic number seems to be different for different machines. If I run the same app on a different machine, the chart displays for 10 datasets, but becomes erratic if I provide any more data sets than that, rendering sometimes but not others.

How do I solve this problem? Is there a limit to how many sets I can provide? I have tried this for Column2D also, which has the same problem.





I Have this problem to.
0

Other Replies To This Topic

#3 User is offline   Angshu 

  • Supreme Being
  • Group: Administrators
  • Posts: 3222
  • Joined: 08-December 10

Posted 05 August 2011 - 11:54 AM

Hi,

Welcome to FusionCharts Forum!Posted Image

First of all, we would like to thank you for showing interest in FusionCharts.

We have modified our FusionCharts for Flex version a little bit more to fix the issue.

Please find the zip file attached for your reference.

In case you are an existing customer, please mail us your FusionCharts Order ID, quoting this Forum Link at: support@fusioncharts.com so that we can get back to you in this regard.

Hope this helps.Posted Image

Attached File(s)


Help us improve our documentation with your precious feedback at:

http://documentation...sioncharts.com/

Best,

Angshu

Follow us on @Twitter


0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic