Make grid size of ChartScene adjustable