Unfortunately I'm not sure you can set the timezone in the format option
(as this is simply an ICU pattern).
You can probably replace the dates you have with the offset you need
manually and then the chart would consider them as if they had the timezone
you wanted.

  Viz Kid

On Thu, Jan 26, 2012 at 5:02 PM, falki <[email protected]> wrote:

> I try to use js option hAxis.format but I don't know how can I set
> time zone there. Any idea?
>
> On Jan 26, 3:51 pm, falki <[email protected]> wrote:
> > Thanks you very much.
> >
> > Could you tell me what is wrong in my code? It doesn't work correctly.
> >
> >         DataTable data; - I put there some values
> >
> >         DateFormat.Options dfOpt = DateFormat.Options.create();
> >         dfOpt.setPattern(FormatType.LONG);
> >
> >         DateFormat df = DateFormat.create(dfOpt);
> >         df.format(data, 0);
> >
> >         draw(data, options);
> >
> > On Jan 26, 2:30 pm, Viz Kid <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > The DataTable has no notion of timezone. You can however set the cells
> > > formatted value with timezone using the DateFormat:
> http://code.google.com/apis/chart/interactive/docs/reference.html#dat...
> >
> > >   Viz Kid
> >
> > > On Wed, Jan 25, 2012 at 6:56 PM, Ela Falkowska (falki) <
> >
> > > [email protected]> wrote:
> > > > Hi,
> > > > My first column type is DATATIME and I would like to change its
> > > > timezone. Is it possible?
> > > > Any help is appreciated. Thank you all.
> >
> > > > --
> > > > 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.
>
> --
> 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.
>
>

-- 
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.

Reply via email to