Setting the chart