Fix displaying of the chart.