Using chartType Function
The button below the chart shows the chart type of the rendered chart.
The above sample showcases how to use chartType function in JavaScript. Click here to know more on how the code of this example works.