Colour Formatter

9 views
Skip to first unread message

Leah Pike

unread,
May 3, 2016, 10:19:08 AM5/3/16
to Google Visualization API
I would like to set up a colour for when a cell contains no data within the data table.

I have tried setting the from and to range to null, but it seems to match on everything, not just empty data.

Is it possible to do this?

var formats = [];
formats
.push({
 color
: 'black',
 bgcolor
: 'red',
 
from: null,
 to
: null
});

Reply all
Reply to author
Forward
0 new messages