Sets the type of chart to be rendered for corresponding dataSeries. One can choose from the following options.
Default: “column”var chart = new CanvasJS.Chart("container",
{
.
.
data:[{
type : "area",
},
]
.
.
});
chart.render();
Also See: