[Google Timeline] How to compress hAxis data with time(minutes) in Google Timeline?

492 views
Skip to first unread message

Neil Allen Dionela

unread,
Jul 12, 2019, 1:29:52 PM7/12/19
to Google Visualization API

Google Timeline.JPG

From the timeline that i have, there's more than 3 columns and it's not showing the time more than 7PM. Is there anyway to automatically compress the x axis data?
Sorry if this is a dumb question. Hope someone could help.

Ray Thomas

unread,
Jul 13, 2019, 3:45:14 PM7/13/19
to Google Visualization API
I don't think there is. The Timelines are largely automatic without the number of options available in some other charts. I tried a couple of methods but the closest I came to what I think you want was by adding a 1 second event to the end of the day using [ 'Petunia Room', '', new Date(0,0,0,23,59,58), new Date(0,0,0,23,59,59) ], which gives the timeline in the attached image, a live version can be seen at http://brisray.com/test/dionela.htm

Hopefully someone can come up with something not quite so kludgy.


dionela.jpg
Reply all
Reply to author
Forward
0 new messages