Adds a new element of given type to the specified array. For example, it can be used to add new Axis to axisY array.
Parameters:var chart = new CanvasJS.Chart("container", { . . . }); chart.render(); chart.addTo("axisY", {title: "Axis Y 2 Title"}, 2);
Also See: