There is no built-in limit to the number of rows in a DataTable, though
javascript has a hard maximum of 2^32 - 1 elements in an array (about 4.3
billion) for 32-bit browsers (and most browsers are 32-bit only). From a
practical standpoint, you will run into performance limits long before you
run into hard limits. Slow PCs running old versions of IE (7, 8) will be
your bottleneck in desktops/laptops; mobile devices could be slower if you
are targeting mobile use.
On Tuesday, January 14, 2014 12:18:41 PM UTC-5, Ravindra Gharge wrote:
>
> I want to design the interactive dashboard with different charts with real
> time data
>
> From the following code i am filling the dataTable for plotting the
> different chart on the dashboard by querying the bellow arrayToDataTable
>
> I want to know what is the maximum no of rows that following dataTable can
> handle
>
>
> var data = google.visualization.arrayToDataTable([
> ['id', 'state', 'town', 'area', 'pin', 'user_id', 'auto_credit',
> 'date', 'time', 'outlet_status', 'verified_status']
>
> <?php
> if($query_run){
> while($row = mysql_fetch_assoc($query_run)){
> ?>
>
> <?php echo
> ",[{$row['id']},'{$row['state']}','{$row['town']}','{$row['area']}','{$row['pin']}','{$row['user_id']}',{$row['auto_credit']},'{$row['date']}','{$row['time']}',{$row['outlet_status']},{$row['verified_status']}]";
>
> ?>
> <?php
> }
> }
> ?>
> ]);
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.