Fixing minor bugs in charts
Bug fix