Set the ControlWrapper's "state" parameter when you create the control. It
accepts an object with a "range" parameter, which has "start" and "end"
sub-parameters. Set the start and end of the filter's initial position
with these:
new google.visualization.ControlWrapper({
controlType: 'ChartRangeFilter',
containerId: 'control_div',
options: {
// options
},
state: {
range: {
start: 5,
end: 10
}
}
});
On Wednesday, June 12, 2013 8:05:39 PM UTC-4, jay albano wrote:
>
> Hey there,
>
> I am working with how to utilize ChartRangeFilter and I get it to working.
> Here's the issue, the filter always start from the left-most, thus the
> chart being displayed on top also depicts what was on the left-most part. I
> want it to start to the right-most but I do not see any documentation that
> allows it, or probably I was just not able to find it.
>
> Is there a way to do this?
>
> Thanks,
> Jay
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.