Adding extra columns to the DataTable wouldn't work in this case as I
have several views based on the same table and use them with charts.
So you're saying that DataView supports calculated columns but that
there is no way to format the data? That sounds like a design flaw to
me...

I might just need to do all the calculations and formatting on the
server side and use multiple DataTable objects, but this seems
inefficient.

Thanks

Laurent


On Jul 10, 4:30 pm, KeithB <[email protected]> wrote:
> Hi Laurent,
>
> It looks like Formatters (a PatternFormat in this case) can only be
> applied to DataTables, not DataViews,
>
> http://code.google.com/apis/visualization/documentation/reference.htm...
>
> Can you specify the name/type/format of the computed column when
> creating the DataTable and leave the values null until you create the
> DataView?
>
> Good luck,
> K

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