fixed normalization issue that caused inconsistency between piechart and linechart