Google Treemap - Differentiate between -ve (negative) and +ve (positive) values

12 views
Skip to first unread message

Sachin Bal

unread,
Dec 28, 2016, 5:42:38 AM12/28/16
to Google Visualization API
Hi,

I have created a TreeMap. I have defined 

         tree.draw(data, {
                         minColor: '#f00',
                         midColor: '#ddd',
                         maxColor: '#0d0',
                         }

This does not show clearly +ve values in green or shades of green and -ve values in red or shades of red. How can I achieve this?

Thanks

Sachin

Reply all
Reply to author
Forward
0 new messages