Line chart that shows time duration/passed.

21 views
Skip to first unread message

Josh Farquhar

unread,
Jun 25, 2016, 6:29:59 PM6/25/16
to Google Visualization API
I am trying to display a chart, both line and bubble. The data I am using is oddly formatted and I am having trouble finding something that is helpful.

The datat file looks like:

000:00:00:00 SATM 25
001:12:00:00 SATM 50

The time-stamp is of the format days:hours:minutes:seconds. Any ideas on how I could effectively graph this data?

Daniel LaLiberte

unread,
Jun 26, 2016, 3:13:56 PM6/26/16
to Google Visualization API
You'll have to convert the data in that format yourself.  You could use the timeofday type of value to represent durations. See https://developers.google.com/chart/interactive/docs/datesandtimes#working-with-timeofday

You currently can't combine the Bubble chart with LineChart, but you can create bubbles by using a 'scatter' series with 'style' role to specify the bubble size and color.  Here is an example of the latter:  https://jsfiddle.net/dlaliberte/3dajLf4w/

--
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-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@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/4a5f686b-37e6-417c-972f-a18db55c54f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages