If you don't need the date for anything, you could switch your first column 
to a "timeofday" data type, which would align all of your data on a single 
span of hours, regardless of day:

var data = google.visualization.arrayToDataTable([
    ['Date', 'Value1', 'Value2', 'Value3', 'Value4'],
    [[3, 14, 0, 0],  1336060,    400361,    1001582,   997974],
    [[3, 15, 0, 0],  1538156,    366849,    1119450,   941795],
    [[3, 16, 0, 0],  1576579,    440514,    993360,    930593],
    [[3, 17, 0, 0],  1600652,    434552,    1004163,   897127],
    [[3, 18, 0, 0],  1968113,    393032,    979198,    1080887],
    [[3, 19, 0, 0],  1901067,    517206,    916965,    1056036],

    [[3, 14, 0, 0],  1336060,    400361,    1001582,   997974],
    [[3, 15, 0, 0],  1538156,    366849,    1119450,   941795],
    [[3, 16, 0, 0],  1576579,    440514,    993360,    930593],
    [[3, 17, 0, 0],  1600652,    434552,    1004163,   897127],
    [[3, 18, 0, 0],  1968113,    393032,    979198,    1080887],
    [[3, 19, 0, 0],  1901067,    517206,    916965,    1056036],

    [[3, 14, 0, 0],  1336060,    400361,    1001582,   997974],
    [[3, 15, 0, 0],  1538156,    366849,    1119450,   941795],
    [[3, 16, 0, 0],  1576579,    440514,    993360,    930593],
    [[3, 17, 0, 0],  1600652,    434552,    1004163,   897127],
    [[3, 18, 0, 0],  1968113,    393032,    979198,    1080887],
    [[3, 19, 0, 0],  1901067,    517206,    916965,    1056036]
]);

The data format for "timeofday" is an array in the form [hours, minutes, 
seconds, milliseconds].

On Saturday, September 13, 2014 2:43:19 AM UTC-4, Schabagh wrote:
>
> Hi Andrew,
>
> sorry, that is correct. But look at the x-axis in the picture please.As 
> yor see the times are repeated in the middle of the X-axis.
>
> 0.00 ... 6.00 ... 12.00 ... 18.00 ... 0.00 ... 6.00 ... 12.00 ... 18.00
>
> but I have with my data only one time line (it means 0.00 ... 6.00 ... 
> 12.00 ... 18.00) on the X-Axis like this, where all curves are indicated 
> at 0.00 on the left:
>
> 0.00 ............. 6.00 ............. 12.00 ............. 18.00
>
> How can I add the data in the Datatable-Aarray so I can indicate the data 
> as shown in the picture? Is that even possible with the Google Chart.
>
> Thanks
>
>
>
> Am Samstag, 13. September 2014 00:48:13 UTC+2 schrieb Andrew Gallant:
>>
>> I don't understand what it is you would like to do.  How does your 
>> example image relate to your data?  What do you mean by only 1 curve 
>> instead of 5 (your data as-is should produce a LineChart with 4 lines)?
>>
>> On Friday, September 12, 2014 9:04:31 AM UTC-4, Schabagh wrote:
>>>
>>> Hi,
>>>
>>> how can I indicate die information of e.g. 5 days with the 
>>> same/repetitive times (X-Axis) with a line chart correctly, only with one 
>>> curve and not with 5 different curves? For example:
>>>
>>> Code hier eingeben...var data = google.visualization.arrayToDataTable([
>>>        ['Date', 'Value1', 'Value2', 'Value3', 'Value4'],
>>>        ['2014-06-11 03:14:00.000',  1336060,    400361,    1001582,   
>>> 997974],
>>>        ['2014-06-11 03:15:00.000',  1538156,    366849,    1119450,   
>>> 941795],
>>>        ['2014-06-11 03:16:00.000',  1576579,    440514,    993360,    
>>> 930593],
>>>        ['2014-06-11 03:17:00.000',  1600652,    434552,    1004163,   
>>> 897127],
>>>        ['2014-06-11 03:18:00.000',  1968113,    393032,    979198,    
>>> 1080887],
>>>        ['2014-06-11 03:19:00.000',  1901067,    517206,    916965,    
>>> 1056036],
>>>
>>>        ['2014-06-12 03:14:00.000',  1336060,    400361,    1001582,   
>>> 997974],
>>>        ['2014-06-12 03:15:00.000',  1538156,    366849,    1119450,   
>>> 941795],
>>>        ['2014-06-12 03:16:00.000',  1576579,    440514,    993360,    
>>> 930593],
>>>        ['2014-06-12 03:17:00.000',  1600652,    434552,    1004163,   
>>> 897127],
>>>        ['2014-06-12 03:18:00.000',  1968113,    393032,    979198,    
>>> 1080887],
>>>        ['2014-06-12 03:19:00.000',  1901067,    517206,    916965,    
>>> 1056036],
>>>
>>>        ['2014-06-13 03:14:00.000',  1336060,    400361,    1001582,   
>>> 997974],
>>>        ['2014-06-13 03:15:00.000',  1538156,    366849,    1119450,   
>>> 941795],
>>>        ['2014-06-13 03:16:00.000',  1576579,    440514,    993360,    
>>> 930593],
>>>        ['2014-06-13 03:17:00.000',  1600652,    434552,    1004163,   
>>> 897127],
>>>        ['2014-06-13 03:18:00.000',  1968113,    393032,    979198,    
>>> 1080887],
>>>        ['2014-06-13 03:19:00.000',  1901067,    517206,    916965,    
>>> 1056036]
>>>
>>>        ...
>>> ]);
>>>
>>> Is that possible. Could I have an example please? I miss some data. I 
>>>
>>> Thanks
>>>
>>

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to