Fixed some (not all) issues occurred after moving to a new version of the charting library.