Fixing a minor issue with the chart rendering