How to change the chart type dynamically?

Was this helpful?