CanvasJS supports a variety of Chart Types that we are going to explain in this section. In this page we’ll give you a high level view of the Chart Types supported and then we get into individual chart types with a separate section for each one of them. Below are the Types of Charts supported by CanvasJSTypes
Simple Chart Types
Set “type” property of chart to “bar”, “column”, “line”, “area”, “pie”, “doughnut”, “scatter” and see various charts render with the same set of dataPoints.
Stacked Charts are Multi-Series Charts, below we have a Stacked Chart chart with type as stackedColumn in all dataSeries.
You can Change type to “stackedArea”, “stackedArea100”, “stackedBar”, “stackedBar100”, “stackedColumn”, “stackedColumn100”.
Bubble chart requires an extra parameter “z” in dataPoints, which determines the size of the bubble. We draw a bubble chart in below example.