Easy way for Chart Setup using Chart.setChartDataRange method

The easy way for Chart Setup using Chart.setChartDataRange method

The following sample code demonstrates the use Chart.setChartDataRange() method to set up a chart easily.