You can generate multiple charts from a single grid by calling the
buildChart method and passing a chart configuration object that includes the property
chartPanel which specifies the ID of the element inside which the chart will be rendered. In this example the
onPageLoaded event is used to call the
buildChart method for create charts for Total and Average Sales