This function is used to set the chart type.
Syntax :
SetChartType(ControlName,ChartType,ColumnShape)
Control name should be chart control name. Chart type should be a valid chart type. Column can be either Bar\Cylindrical.
Example:
SetChartType(Chart,PieChart,Bar)
The function will display a pie chart.