Assuming I understood your question correctly, 'data' is an instance
of google.visualization.DataTable, the same instance you'll pass
to table.draw().


On Thu, Mar 1, 2012 at 10:03 AM, miriam natanzon <[email protected]>wrote:

> Any updates for this issue???
> i've the same question.
> the answer below doesn't tell what to put instead of "data"...
>
> Miriam
>
> On Wednesday, August 3, 2011 2:10:43 PM UTC+3, David Rodger wrote:
>>
>> Hi there
>>
>> Has anyone an idea of how to display a bar formatter table with remote
>> source data (google spreadsheets).
>>
>> Do i need to input the error query and response?
>>
>> I can display a table but I come a little unstuck at the formatter
>> around this point:
>>
>> var table = new
>> google.visualization.Table(**document.getElementById('**visualization'));
>>
>>
>>   var formatter = new google.visualization.**TableBarFormat({width:
>> 120});
>>   formatter.format(WHAT WOULD I ENTER HERE? data, 1); // Apply
>> formatter to second column
>>
>>   table.draw(data, {allowHtml: true, showRowNumber: true});
>> }
>>
>> Thank you for your time on this
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-visualization-api/-/r1LrInaiHTEJ.
> 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.
>

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