in the current release, there is no way to do this directly from the Java
code. this functionality will be added in the next release. the only way
to do it right now is with JSNI. you have some method like:
private native JsArrayNumber getVisibleChartRange(JavaScriptObject jso)
/*-{
return jso.getVisibleChartRange()['start'].getTime();
}-*/;
and then to get the chart range, you do something like:
AnnotatedTimeLine atl;
// etc
int start = getVisibleChartRange(atl.getJso()).get(0);
let me know if you have further questions.
On Wed, Aug 5, 2009 at 6:33 PM, RR <[email protected]> wrote:
>
> I am working on Annotated timeline charts.
> Could anyone please tell me how is getVisibleChartRange method exposed
> to be used in Java code?
> Is this an option at all for Annotated timeline charts?
>
> I am actually trying to manipulate the display of date range on my
> charts. Is there some other way to do it?
>
> Appreciate your help
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---