You can use setTimeout() to process the XML in chunks, however, I
would recommend using JSON or emitting script from the server, it will
be much more efficient. Basically, you can avoid the slow script
warning by yielding the CPU after processing a certain number of rows
via setTimeout(). However, you will still face the issue that overall
page load and startup will be slow.

It also depends on the visualization you plan to use. Most charts
won't even render more than a few hundred datapoints without choking.
Chronoscope/Timescope (http://timefire.com) is a highly specialized
chart specifically engineered to scale to millions of points.

-Ray

On Thu, Feb 12, 2009 at 11:33 AM, Максим Барбул <[email protected]> wrote:
> Hi, I think you'll have problems in displaying such big data store.
> Try to split into pages or through out some points. You can threat such data
> with PHP, PERL, C, Java, ... but NOT JavaScript.
>
> 2009/2/12 p00kie <[email protected]>
>>
>> Hi all,
>>
>> I am looking for a way to load a large xml file into a dataTable.
>>
>> I am using XMLHttpRequest to load the XML file.
>>
>> My table has 8 columns and about 300,000 rows. When I try to load it,
>> I will usually get a non-responsive script error.
>>
>>
>>
>
>
>
> --
> С уважением,
> Максим Барбул
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to