Fix displaying the chart.