[CHART] Distil similar code into common function.
[CHART] Distil similar code into common function.

Most chart have XXX_tooltip_text() very similar.
Moved the logic into chart_tooltip_text_common() and
made majority of chart just use that.

mity/mctrl,mity/mctrl,mity/mctrl,mity/mctrl