11 messages in com.googlegroups.google-visualization-api[visualization-api] Re: Zoom on annot...
FromSent OnAttachments
Ed Eichman04 Jun 2008 10:55 
mjulson11 Jun 2008 16:14 
Scott G12 Jun 2008 06:28 
Greg Pilla13 Jun 2008 11:21 
Cesium15 Jun 2008 11:21 
Jason16 Jun 2008 11:54 
Jason17 Jun 2008 19:41 
Leo24 Jun 2008 14:19 
Leo25 Jun 2008 06:51 
Google VizGuy26 Jun 2008 10:58 
Leo26 Jun 2008 17:27 
Subject:[visualization-api] Re: Zoom on annotatedtimeline
From:Jason (brec@gmail.com)
Date:06/17/2008 07:41:34 PM
List:com.googlegroups.google-visualization-api

Any chance of this being considered as a feature request to implement for the next revision?

Thanks!

From looking at the code, it seems like you'll need to set the detailLevels and zoomLevels arrays to match your data range.  If you look at the annotatedtimeline.js, it sets them with values like the following:

this.m("detailLevels",["from:0","to:"+182*h,"interval:"+1*h]); this.m("detailLevels",["from:"+(182*h +1),"to:"+1825*h,"interval:"+7*h]);

this.m("zoomlevels",["text:1m","value:"+30*h]); this.m("zoomlevels",["text:3m","value:"+91*h]);

If there were some way to get at that object and set/modify them...