Annotated Time Line

156 views
Skip to first unread message

Enara

unread,
Feb 23, 2012, 10:39:29 AM2/23/12
to Google Visualization API
Hi,
I wonder if it's possible to change the y-axis labels in
gvisAnnotatedTimeLine; I want to put 20000 instead of 20k.

Thanks for your help

asgallant

unread,
Feb 23, 2012, 11:25:08 AM2/23/12
to google-visua...@googlegroups.com
I don't believe there is anything that does this.  Switching to the Line Charts would allow you to do this, and with the new ChartRangeFilter control being introduced with the new release candidate, Line Charts now offer almost all of the AnnotatedTimeline functionality using SVG instead of Flash.

Enara Galbete Ahechu

unread,
Feb 29, 2012, 9:33:29 AM2/29/12
to google-visua...@googlegroups.com
hello,
thank you very much for your answer, but I'm not sure I've understood your answer.
First I'll explain you a bit better my problem:
My variable is measured in units from 1200 to 2500 and I want to use an "Annotated Time Line " and not other type of graph, because I've monthly data from 1996 to 2010 and "Annotated Time Line" is the one that shows them better. The y-axis must show the scale from 1200 to 2500 but instead of appearing the real values it shows from 1.20k to 2.50k.
I want to visualize the real scale, is it possible?

Thank you very much in advance

Enara

2012/2/23 asgallant <drew_g...@abtassoc.com>
I don't believe there is anything that does this.  Switching to the Line Charts would allow you to do this, and with the new ChartRangeFilter control being introduced with the new release candidate, Line Charts now offer almost all of the AnnotatedTimeline functionality using SVG instead of Flash.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/YoY-FEadeCsJ.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

Message has been deleted

asgallant

unread,
Feb 29, 2012, 11:02:55 AM2/29/12
to google-visua...@googlegroups.com
There isn't any way to do that in Annotated Timeline charts; they always use shorthand notation for y-axis values.  The LineCharts can do the same job as the ATL charts, with a few tweaks and the use of the ChartRangeFilter control: http://jsfiddle.net/2GCrv/ 

Enara Galbete Ahechu

unread,
Mar 1, 2012, 4:08:30 AM3/1/12
to google-visua...@googlegroups.com
Thank you very much

2012/2/29 asgallant <drew_g...@abtassoc.com>
There isn't any way to do that in Annotated Timeline charts; they always use shorthand notation for y-axis values.  The LineCharts can do the same job as the ATL charts, with a few tweaks and the use of the ChartRangeFilter control: http://jsfiddle.net/2GCrv/ 

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.

Dominic

unread,
Mar 5, 2012, 9:18:07 AM3/5/12
to Google Visualization API
Hello asgallant,

great example! I wasn't aware of this possibility of range filters.
Two questions:
- do you know if there is a way to use the range filter slider handle
on the iPad
- es there any limitation to use this with a combo chart

Thanks a lot

asgallant

unread,
Mar 5, 2012, 10:19:58 AM3/5/12
to google-visua...@googlegroups.com
As I understand it, the iPad supports SVG, so there shouldn't be any problem using most of the charts (there are a few Flash-based [ATL, Motion charts] that won't work).  The controls (like ChartRangeFilter) are all SVG-based, so there should not be any problem.

I believe that the ChartRangeFilter will work on any chart with a continuous-type hAxis (Date/DateTime/TimeOfDay/number type domain column); which includes ComboCharts with Line or Area series (does not work with Column series, which require a discrete [string] domain column).

Dominic

unread,
Mar 5, 2012, 12:31:56 PM3/5/12
to Google Visualization API
The example code you posted does work on the iPad. I have no idea yet
how to "click" on the slider of the control though.
Maybe there is gesture you can do this with... Nevertheless most users
will have the same problem. So a control slider that can be moved with
touch interfaces would be a must have.

I'll do a quick research on it. If somebody has experience with this
let me know.

asgallant

unread,
Mar 5, 2012, 12:52:44 PM3/5/12
to google-visua...@googlegroups.com
I think that's up to Apple to implement touch events in their browser, which you could then hook into with javascript, or emulate mouse events with touch.  I don't think there is anything on the JS-side that you can do until they implement one or the other (same goes for Android or other mobile browsers).

Dominic

unread,
Mar 5, 2012, 1:53:15 PM3/5/12
to Google Visualization API
I think it is an issue of iOS not understanding that the control
slider is clickable, therefore no mouse events are generated for that
object. So you would need to tell the browser that this is a clickable
object... Need to look into the documentation of control objects to
see if this is feasible.
Reply all
Reply to author
Forward
0 new messages