The #setFormattedValue method works quite simply:

// assume "data" is a DataTable
data.setFormattedValue(<cell row in data table>, <cell column in data 
table>, 'string value to use as the formatted value');

so if you wanted to set the value of the cell in row 6, column 0 to 
"Apple", it would be:

data.setFormattedValue(6, 0, 'Apple');

On Tuesday, June 18, 2013 10:51:02 AM UTC-4, [email protected] wrote:
>
> Hiya
>
> Sorry but I am fairly new to this. Could you explain how to use the 
> setFormattedvalue to only display the fruit in the above example.
>
> Thank you
>

-- 
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/groups/opt_out.


Reply via email to