Linechart min/max haxis midnight to midnight

10 views
Skip to first unread message

KAHOUADJI Mehdi

unread,
Apr 10, 2017, 12:31:18 PM4/10/17
to Google Visualization API
:qHello,

I would like to set the minValue and maxValue of the hAxis option from midnight to midnight (the first value is a DATE),

Here is an exemple of a data:

 var data0 = google.visualization.arrayToDataTable([
['DATE', 'master 0', 'master 1'],

[new Date(2017, 04, 10, 16, 32, 47),0.0,2.0],
[new Date(2017, 04, 10, 16, 34, 27),15.9,0.0],
  ]);

I don't know exaclty how to setup the options or the datas to do this, anyone has an idea ?


Thanks in advance.



KAHOUADJI Mehdi

unread,
Apr 10, 2017, 12:37:34 PM4/10/17
to Google Visualization API
I think I got it :) The viewWindow option,

Regards
Reply all
Reply to author
Forward
0 new messages