Hi,
If what Hanwen said is correct, and that is indeed what you want, this
sounds like a pivot operation.
We do not support pivot operations in the client side library at the moment,
but it is on our roadmap.
For now, if this is a specific usecase, and you know the exact columns, I
suspect you could write it yourself in JavaScript -- it shouldn't be very
complicated.
Regards,
VizBoy.
On Sat, May 2, 2009 at 3:22 PM, Hanwen <[email protected]> wrote:
>
> From your data, I guess you want your data table to be like the
> following form to have 4 annotated time lines, right?
>
> date broadcast1_sent broadcast2_sent
> broadcast3_sent broadcast4_sent
> Apr 28, 2009 184 774
> 542 553
> Apr 29, 2009 204 180
> 384 293
> Apr 30, 2009 230 201
> 272 147
>
> I don't find any APIs which could automatically transform your data to
> this kind of format,
> so maybe you have to do it by yourself with Java Script.
>
> On May 1, 3:14 am, "[email protected]" <[email protected]> wrote:
> > i have a data table with the following data:
> > date sent name
> > Apr 30, 2009 230 broadcast1
> > Apr 30, 2009 147 broadcast4
> > Apr 30, 2009 201 broadcast2
> > Apr 29, 2009 293 broadcast4
> > Apr 29, 2009 180 broadcast2
> > Apr 30, 2009 272 broadcast3
> > Apr 28, 2009 774 broadcast2
> > Apr 29, 2009 384 broadcast3
> > Apr 29, 2009 204 broadcast1
> > Apr 28, 2009 542 broadcast3
> > Apr 28, 2009 184 broadcast1
> > Apr 28, 2009 553 broadcast4
> >
> > How can this be made to work properly with an annotated timeline? is
> > there a way to generate a dataview which will roll up the rows having
> > equal dates into a single row?
> >
> > Can an annotated timeline be set up to 'roll up' multiple rows having
> > the same date values?
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---