Did it work?
On Sun, Jan 23, 2011 at 8:43 PM, matthew <[email protected]> wrote:
> This is what I did:
>
> for (i=0; i<data.getNumberOfRows(); i++) {
> var date = data.getValue(i, 0);
> var year = (1900 + date.getYear());
> var quarter = Math.floor(date.getMonth()/3) + 1;
> var value = year + '-Q' + quarter;
> data.setFormattedValue(i, 0, value)
>
> }
>
> --
> 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]<google-visualization-api%[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.