fix angular chart bugs