fix: clean up code in XYBarChart
fix: cleaning up code | new: add animation to XYBarChart