Could it be a timezone issue?  If so, that's pretty bad.

Could you try a few of the older versions?  41, 42, 43, and 44 are
available.

On Tue, Feb 13, 2018 at 3:16 AM, Domh4445 <domh4...@gmail.com> wrote:

> more .....
>
> with this it starts a "1"
> [[0, 0, 0],-13.8,  1.8,-11.8],
> [[0 ,15, 0],  0.9,  1.8,  2.4],
> [[0,30, 0],  5.4,  1.8,  5.7],
> [[0, 45, 0],  1.7,  1.8, 10.5],
> [[1, 0, 0], 11.9,  1.8, 10.4],
> [[1, 15, 0],  8.8, 13.6,  7.7],
> [[1, 30, 0],  7.6, 12.3,  9.6],
> [[1, 45, 0], 12.3,  9.2, 10.6],
> [[2, 0, 0], 16.9,  2.9, 14.8]
>
> but with this, it start at "9"
> [[8, 0, 0],-13.8,  1.8,-11.8],
> [[8 ,15, 0],  0.9,  1.8,  2.4],
> [[8,30, 0],  5.4,  1.8,  5.7],
> [[8, 45, 0],  1.7,  1.8, 10.5],
> [[9, 0, 0], 11.9,  1.8, 10.4],
> [[9, 15, 0],  8.8, 13.6,  7.7],
> [[9, 30, 0],  7.6, 12.3,  9.6],
> [[9, 45, 0], 12.3,  9.2, 10.6],
> [[10, 0, 0], 16.9,  2.9, 14.8]
>
>
>
> Le lundi 12 février 2018 17:56:16 UTC+1, Domh4445 a écrit :
>
>> Hello
>>
>> IWith the following script, I would expect the hAxis starting at "0" but
>> it starts at "1" ( see the picture attached)..
>>
>> Any idea what's wrong ?
>>
>> Thanks in advance
>>
>>
>> <script type="text/javascript" src="https://www.gstatic.com/c
>> harts/loader.js"></script>
>>     <script type="text/javascript">
>>       google.charts.load('current', {'packages':['line']});
>>       google.charts.setOnLoadCallback(drawChart);
>>
>>     function drawChart() {
>>
>>       var data = new google.visualization.DataTable();
>>       data.addColumn('timeofday', 'Heure');
>>       data.addColumn('number', 'Hier');
>>       data.addColumn('number', 'Aujourd hui');
>>       data.addColumn('number', 'Avant hier');
>>
>>       data.addRows([
>> [[0, 0, 0],-13.8,  1.8,-11.8],
>> [[0 ,15, 0],  0.9,  1.8,  2.4],
>> [[0,30, 0],  5.4,  1.8,  5.7],
>> [[0, 45, 0],  1.7,  1.8, 10.5],
>> [[1, 0, 0], 11.9,  1.8, 10.4],
>> [[1, 15, 0],  8.8, 13.6,  7.7],
>> [[1, 30, 0],  7.6, 12.3,  9.6],
>> [[1, 45, 0], 12.3,  9.2, 10.6],
>> [[2, 0, 0], 16.9,  2.9, 14.8]
>>       ]);
>>
>>       var options = {
>>         chart: {
>>           title: 'Temperature Chevry Ext',
>>           subtitle: 'mesure chaque quart d heure'
>>         },
>>
>>         width: 900,
>>         height: 500,
>>         hAxis: {
>>           title: 'heures' , format: 'H m'
>>         }
>>       };
>>
>>       var chart = new google.charts.Line(document.ge
>> tElementById('line_top_x'));
>>
>>       chart.draw(data, google.charts.Line.convertOptions(options));
>>     }
>>   </script>
>>
> --
> 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 https://groups.google.com/
> group/google-visualization-api.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-visualization-api/b968fc1d-bebd-4f8c-acc0-
> 5e1c072961ce%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/b968fc1d-bebd-4f8c-acc0-5e1c072961ce%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
dlalibe...@google.com <dlalibe...@google.com>   5CC, Cambridge MA

-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJO6nzPSTuFoXQSbtMZTJx%3Dud1t%2BPN6ExtFiLzg0FBbOYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to