TMDM-7711: init fix on overlapped x-axis labels

TMDM-7711: code refactoring

TMDM-7711: final fix on long names overlapping issue (JournalChart portlet)

TMDM-7711: fix for x-axis labels overlapping for RoutingChart and minor adjustment for totalLength of all the potential lables

TMDM-7711: minor code refactoring
Merge branch 'maintenance/5.6'