Adds a new element of given type to the specified array. For example, it can be used to add new stripLine to stripLines array.
Parameters:var chart = new CanvasJS.Chart("container",
{
.
.
.
});
chart.render();
chart.axisX[0].addTo("stripLines", {value: 30}, 2);