You can format the data however you need by calling the #setFormattedValue 
method of the DataTable.  Use this to set a string value to be displayed in 
the Table cell, eg:

data.setFormattedValue(row, column, 'string formatted value');

If you want to use HTML in the cell, then you need to set the Table's 
"allowHtml" option to true.

On Friday, April 11, 2014 5:44:11 PM UTC-4, Xavi Beumala wrote:
>
> Hi all,
>
> Is there any way to create custom formatters for the table component?
>
> I need something quite similar to the BarFormat but with some changes 
> (i.e. finer control on the bar colors).
>
> Is there some public API I can implement to create my custom formatter?
>
> many thanks in advance
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to