Answering my own questions - hopefully this will help others!
1. For the annotated time line visualization, you can use the
'dateFormat' configuration option including 'GG' in the pattern to
indicate the era. For example:
chart.draw(data, {'dateFormat': 'MM/dd/yyyy GG'});
2. Use the JavaScript Date.setFullYear() method. See:
http://www.w3schools.com/jsref/jsref_setfullyear.asp
On Nov 4, 4:45 pm, plato <[email protected]> wrote:
> I had a couple questions around dates in the Annotated Time Line
> visualization:
>
> 1. Is it possible to show dates in BC format (e.g., 100 BC)? I've
> tried using negative numbers for the year and they appear to work, but
> I could use an example on the formatting.
>
> 2. How do you specify years in the 0 AD to 100 AD period? If I use a
> two-digit year, it defaults to 19xx.
>
> Thanks!
--
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.