--
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
Hi Don,
I think timeofday is what you want, but you need to match the format that it expects, which is not a string. It expects an array of numbers. Take a look at this documentation page for an example of how to use it: https://developers.google.com/chart/interactive/docs/datesandtimes#timeofday
On Fri, Feb 27, 2015 at 2:49 PM Don Norman <norm...@gmail.com> wrote:
Hello,--I have a line graph set up using time intervals and I would like to use a trending line, however those are only available with continuous axes.There is already 'number', 'date', 'datetime' and 'timeofday' available as a continuous axis, it would be really nice to have 'interval' added as a continuous axis as well.Here's an example of the graph that I have, it's showing a number of events across an interval of time.The intervals are technically continuous since they are every 30 minutes, but are not displayed that way due to 'string' being the only column type that the API will allow me to use with them.Is there a way to achieve this with the currently available API options? I was thinking that I could use 'timeofday' but it did not like the input values (00:00, 00:30) for that type.Thanks,-Don
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+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
That's exactly what the purpose of the 'timeofday' format is. It models a time relative to some arbitrary 0:00. If you did want to model it anchored to a specific point in time, you would use the 'datetime' type, which is simply a Date object with time in it.
On Fri, Feb 27, 2015 at 3:42 PM Don Norman <norm...@gmail.com> wrote:
Hi Sergey,I had originally thought that 'timeofday' wouldn't be appropriate because I assumed it was related to a specific point in time. The 30 minute intervals that I am working with aren't really related to any specific point in time, because the events that I am tracking could start at a different time on any given day. And rather than have different start times for them all, I was plotting them along intervals in which they happened from a 00:00 starting point; regardless of when that actual starting point happened.I'll try it though and see how it turns out. I may just have to normalize the time range of the events so they sit nicely on top of each other in a graph.Thanks!-Don
On Friday, February 27, 2015 at 2:55:23 PM UTC-5, Sergey wrote:Hi Don,
I think timeofday is what you want, but you need to match the format that it expects, which is not a string. It expects an array of numbers. Take a look at this documentation page for an example of how to use it: https://developers.google.com/chart/interactive/docs/datesandtimes#timeofdayOn Fri, Feb 27, 2015 at 2:49 PM Don Norman <norm...@gmail.com> wrote:
Hello,--I have a line graph set up using time intervals and I would like to use a trending line, however those are only available with continuous axes.There is already 'number', 'date', 'datetime' and 'timeofday' available as a continuous axis, it would be really nice to have 'interval' added as a continuous axis as well.Here's an example of the graph that I have, it's showing a number of events across an interval of time.The intervals are technically continuous since they are every 30 minutes, but are not displayed that way due to 'string' being the only column type that the API will allow me to use with them.Is there a way to achieve this with the currently available API options? I was thinking that I could use 'timeofday' but it did not like the input values (00:00, 00:30) for that type.Thanks,-Don
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.