Re: Google Visualization - Highlight data in a Table

66 views
Skip to first unread message

asgallant

unread,
Nov 12, 2012, 1:21:06 PM11/12/12
to google-visua...@googlegroups.com
There's nothing in the API that will color the rows for you (you could color just the age cells using a ColorFormatter, but it wouldn't work on the Name cells); but making your own version is fairly easy.  You need to iterate over the table, setting the "style" property of every cell in rows where age is not equal to 17.  Like this: http://jsfiddle.net/asgallant/XRDaj/

On Monday, November 12, 2012 7:33:44 AM UTC-5, John wrote:
I am a beginner to the Google Visualization .I have made a dashboard with google visualization. My dashboard has a table that is drawn with the help of ChartWrapper and I filter the table by one of the columns with the help of String filter. Please check the below link how the dashboard look like

http://jsfiddle.net/Ysyeq/

But i want to highlight all the rows in "red" color within the table , where the age of a person is not equal to 17 . So can anyone please help me in doing this.

Many Thanks in Advance

John

John

unread,
Nov 13, 2012, 6:38:01 AM11/13/12
to google-visua...@googlegroups.com
Thanks a lot for your help
Reply all
Reply to author
Forward
0 new messages