The description should be:
description = {('date', 'datetime'): ('num', 'number')}

This will make on first cell the datetime, and second cell a number.

VizGuy

On Sun, Nov 9, 2008 at 6:50 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

>
> i'm trying to use the python api to get an annotated timeline example
> going.
>
> However, I'm having some confusion / problems in defining the
> tabe_description or the schema ..My data is a dictionary  where the
> key is a datetime.date object and the value is an integer. So, it
> looks like something below:
>
> data = {datetime.date(2008,11,06):3, datetime.date(2008,11,07),
> 7,datetime.date(2008,11,08):5 }
>
> in this case, what should my table_description / schema look like ?
>
> thnx.
> >
>

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