Chart rendering is now done properly