I am making an application in ASP.NET in C #.

I made a chart using Google Charts Line, whether by an array with 1000 
values, this represents correctly. If the array is 2500 for example, and 
does not show a failure alert.

*The inquiry is whether there is any limit on the size or length of the 
array or data table.*

Code:

var _puntoDeMedicionId = $('#<%= DropDownPtoMedicionGraf.ClientID %>').val();
 var _EntradasSalidas = _ids;
 var _FechaHoraIni = $('#<%= TextBoxFechaIniGraf.ClientID %>').val(); //Fecha 
inicial de seleccion
 var _FechaHoraFin = $('#<%= TextBoxFechaFinGraf.ClientID %>').val(); //Fecha 
final de seleccion

 $.ajax({
     url: "Graficos.aspx/GetChartData",
     data: "{'pPuntoDeMedicionId':'" + _puntoDeMedicionId + "'," +
           " 'pEntradasSalidas' : '" + _EntradasSalidas + "'," +
           " 'pFechaHoraIni' : '" + _FechaHoraIni + "'," +
           " 'pFechaHoraFin' : '" + _FechaHoraFin + "'" +
     "}",
     dataType: "json",
     type: "POST",
     contentType: "application/json; chartset=utf-8",
     success: function (data) {
           var _primero = true;
            $(data.d).each(function (_index, _objeto) {
                if (_primero == true)
                    _primero = false;
                else
                       _objeto[0] = moment(_objeto[0]).toDate();


            });
         chartData = data.d;
     },
     failure: function (r) {
         alert(data.d);
     },
     error: function (data) {
       //  alert(data.d);
         alert("Error cargando los datos, demasiados datos a representar o 
conexion muy lenta");
     }
 }).done(function () {
     // after complete loading data



     google.setOnLoadCallback(drawChart);
     drawChart();

 });

My English is not very good, sorry for any mistakes.

-- 
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/d/optout.
  • [visualization-api] Google... MicroAr MicroAr

Reply via email to