Indicator color for two columns

Hi,

How do you make indicator colours for two columns, like in the doctype Reports?

I tried with get_indicator in the doctype_list.js, but it works only on one column.