Returns the specified property of dataSeries.
Parameters:var chart = new CanvasJS("container", { . . data:[{ //dataSeries1 }, { //dataSeries2 }, . ], . . }); chart.render(); console.log(chart.data[0].get("type"));
Please refer to DataSeries Elements for the complete list of properties that can be accessed via get.
Also See: