Creating a Timeline Chart without automatically converting the data into dates.

37 views
Skip to first unread message

mariotheguy123

unread,
Apr 16, 2020, 10:35:58 AM4/16/20
to Google Visualization API
Hello I would like to create a Timeline chart where the data is in nanoseconds. When the chart is created it converts these values into dates instead of leaving them as they are. I have tried setting format to decimal and scientific but none of this worked. Any ideas?  My data looks like this:
[
[
{ type: 'string', id: 'Resolver/Query' },
{ type: 'number', id: 'Start' },
{ type: 'number', id: 'End' },
],
['Query', 0, 291258],
['posts', 0, 28870],
['title', 28870, 42922],
['user', 42922, 52375],
['id', 52375, 60806],
['firstName', 60806, 68982],
['lastName', 68982, 76392],
['title', 76392, 90444],
['user', 90444, 98876],
['id', 98876, 105518],
['firstName', 105518, 113438],
['lastName', 113438, 119059],
]

SJW

unread,
Apr 16, 2020, 9:19:06 PM4/16/20
to Google Visualization API
How about a fiddle to see it?
Reply all
Reply to author
Forward
0 new messages