Adds a new element of given type to the specified array in navigator. For example, it can be used to add a new dataSeries to data array of navigator.
Parameters:var stockChart = new CanvasJS.StockChart("container", { . . navigator: { data: [{ . . dataPoints: dataPoints1, . . }] } . . }); stockChart.render(); stockChart.navigator.addTo("data", { type: "line", dataPoints: dataPoints2 });