Gaps in Annotated Timeline

129 views
Skip to first unread message

DjDjoko

unread,
Dec 23, 2014, 11:54:37 AM12/23/14
to google-visua...@googlegroups.com
Hi Chart Wizards,

I have started using the Google Annotated Timeline and I have following problem. I am plotting intraday financial data over a couple of days. For every day only data during the hours when the market is open is available. Therefore I have gaps in my Timeseries that I am plotting. When I plot the chart, I also see gaps for the data that is missing. Is it possible to remove these gaps i.e. I would like to only plot data for when the market is open and data is available. 

Thanks!

PS. I am using the Annotated Timeline through googleVis package in R but I think the functionality is the same as far as I know. 

DjDjoko

unread,
Dec 23, 2014, 12:05:49 PM12/23/14
to google-visua...@googlegroups.com
I have to correct myself that I am using Annotation Chart and not Annotated Timeline. Sorry for the confusion

Daniel LaLiberte

unread,
Dec 23, 2014, 2:39:44 PM12/23/14
to google-visua...@googlegroups.com
There is no support for gaps (or breaks) in the axes yet, though we have done some work in that direction.  Given the priority of other work, I expect that finishing this feature will be deferred for several months longer.  (There have been a few requests for it lately, and hearing more requests will increase the priority, so thanks for your request.)

--
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.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Djordje Djokovic

unread,
Dec 23, 2014, 2:44:35 PM12/23/14
to google-visua...@googlegroups.com

Thank you Daniel,

is there a feature to custom label the x axis in annotation chart ? if that is available I would be able to supply continuous data to it so that it does not break and relabel the axis.

You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/Sq_x0uoTaXc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

Daniel LaLiberte

unread,
Dec 23, 2014, 4:12:33 PM12/23/14
to google-visua...@googlegroups.com
You can use the ticks option for the horizontal axis as well.  I forget whether it works with discrete values, but it will work with continuous values.  However, you mention breaking text.  The formatting of each label is controlled by a format option, but you can't so easily specify line breaking of the label.  Try including \n in your format.

me myself nd i

unread,
Jun 10, 2015, 12:49:58 AM6/10/15
to google-visua...@googlegroups.com
It is now June 2015, any update on this feature request ?  I add my vote for it.
My data is for business days only, like that:
5/28/2015,77.03
5/29/2015,76.27
6/1/2015, 75.23
6/2/2015, 75.46
The days of 5/30/15 and 5/31/15 are weekend days without data. But they show as a gap in the chart.  Why would the Annotation Chart be based on a calendar instead of the actual data ?  I guess this question is about continuous vs discrete axes. So please add an option to switch to a discrete (data row based) axis presentation. Currently the Annotation Chart does not accept first data column type 'string', which would solve the problem per
https://developers.google.com/chart/interactive/docs/customizing_axes#Discrete_vs_Continuous

Reply all
Reply to author
Forward
0 new messages