TMDM-7711: code refactoring and add hovering for MatchingChart

TMDM-7711: code refactoring and bug fix - DataChart mouse tooltip didn't update correctly after switching DC/DM

TMDM-7711: Minor improvement on x-axis labels display