Returns the specified property of Chart.
Parameters:var chart = new CanvasJS("container", { . . zoomEnabled: true, zoomType: "xy", . . }); chart.render(); console.log(chart.get("zoomType"));
Please refer to Chart Elements for the complete list of properties that can be accessed via get.
Also See: