PDA

View Full Version : Problems with google line chart.



persson121
Apr 12th, 2012, 03:04 PM
problems with google line chart.

Hi there. I use this line chart and I notice that the more data it reads, the more lines disappears.
https://developers.google.com/chart/interactive/docs/gallery/linechart

We take for example this data

['15 .30 ', 9038],
['', 9.04];
['', 9.02];
['', 9.03];
['', 9.0268],
['', 9.04];
['', 9.0393],
['', 9:06]
['16 .00 ', 9058],
['', 9.09];
['', 9075];
['', 9:08]
['', 9052];
['', 9.07];
['', 9:06]
['', 9.0704],
['17 .30 ', 9.07];

Then the row ['16 .00 ', 9058], disappear because it is so much data, and take the most important thing to be able to see a good line chart. The Line chart work well, but I would like to know how to change the code so it becomes mandatory that the program must read the rows that have a number as the first element( example ['element' element]). If the first element does not contain any such number, the program may determine whether to print it or not.

To make it a little easier stated, I can say that the row who have the first element, who contains a number, so most the code read it to the screen.

Thanks.