Fixing problem with chart.