Is it possible to bind data to specific colors in Google Charting API...
Suppose i have 2 Pie-Charts as in the FIDDLE.. I want to bind the Data to specific colors -
eg - EAT should always be RED, SLEEP Should always be GREEN in all the charts...
and if a specific item does not appear in any particular chart then the color corresponding to the missing value should not appear in that chart...
I have tried
slices: [{color: 'black', {}, {}, {color: 'red'}]
as well as
slices: {0: {color: 'black'}, 3: {color: 'red'}}
but was not able to handle missing values....
See Fiddle to get a clear idea what i am trying to achieve here...