Timeline - x-axis - Scale or ScrollBar

87 views
Skip to first unread message

ss kumar

unread,
Oct 3, 2014, 5:49:04 PM10/3/14
to google-visua...@googlegroups.com
Hi,

Please let me know how to apply scale to x-axis in Timeline.

Bascially looking for some kind of scroll bar for x-axis.

Looking for Scale:Month Step:1


Thanks
Sam

Andrew Gallant

unread,
Oct 3, 2014, 8:26:17 PM10/3/14
to google-visua...@googlegroups.com
The closest solution for this is to use a ChartRangeFilter, but that allows you to get a range of data based on the start or end date; it doesn't restrict the chart view to a particular length of time.

As an example of this problem, assume I have a timeline with two bars: August 20 - September 10 and September 25 - October 1.  If you filter the start date, and set a range of September 1 - September 30, you will see a chart with a single bar, with a date range of September 25 - October 1, instead of two bars cut off at the ends of the date range.

ss kumar

unread,
Oct 5, 2014, 12:50:36 AM10/5/14
to google-visua...@googlegroups.com
Hi,

Thanks for ur reply.

Could you reply sample code on how to use it? Thanks.

--
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/7sWrovpraMI/unsubscribe.
To unsubscribe from this group and all its topics, 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.



--
--
Thanks & Regards
Sai Sampat Kumar

Andrew Gallant

unread,
Oct 8, 2014, 8:15:20 PM10/8/14
to google-visua...@googlegroups.com


On Sunday, October 5, 2014 12:50:36 AM UTC-4, ss kumar wrote:
Hi,

Thanks for ur reply.

Could you reply sample code on how to use it? Thanks.
On Fri, Oct 3, 2014 at 7:26 PM, Andrew Gallant <agal...@google.com> wrote:
The closest solution for this is to use a ChartRangeFilter, but that allows you to get a range of data based on the start or end date; it doesn't restrict the chart view to a particular length of time.

As an example of this problem, assume I have a timeline with two bars: August 20 - September 10 and September 25 - October 1.  If you filter the start date, and set a range of September 1 - September 30, you will see a chart with a single bar, with a date range of September 25 - October 1, instead of two bars cut off at the ends of the date range.


On Friday, October 3, 2014 5:49:04 PM UTC-4, ss kumar wrote:
Hi,

Please let me know how to apply scale to x-axis in Timeline.

Bascially looking for some kind of scroll bar for x-axis.

Looking for Scale:Month Step:1


Thanks
Sam

--
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/7sWrovpraMI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@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.
Reply all
Reply to author
Forward
0 new messages