Making the chart responsive