Hi ChartMan,

Let's say I have a DataTable with 3 columns: name (string), value1
(number) and value2 (number)
and I am formatting columns 1 and 2 with NumberFormat to display as
percentages.
I then create a DataView that will have a 4th column using 'calc' as a
sum of columns 1, 2.
There is no way to format the new calculated column as a percentage
because cannot be used with DataView.

Am I missing something?

Thanks

Laurent

On Jul 12, 1:19 am, ChartMan <[email protected]> wrote:
> Not sure what you are requesting here, if there are any standing issues
> please describe the bug
> or the feature request you are looking for.
>
> Thanks
> ChartMan
>
> On Sun, Jul 11, 2010 at 8:43 PM, laurenty <[email protected]> wrote:
> > 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]<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.

Reply via email to