Hello,
I am setting the viewport data to graph using following methods:
chart.axisY[0].set(“viewportMinimum”, min.value);
chart.axisY[0].set(“viewportMaximum”, max.value);
but after setting the value, In resetting graph part I am using the following code
if (e.trigger === “reset”)
{
chart.axisY[0].set(“viewportMinimum”, null);
chart.axisY[0].set(“viewportMaximum”, null);
chart.render();
}
using this code graph not reset.
I also checked this link: https://canvasjs.com/docs/charts/how-to/sync-across-multiple-charts/
any another way to reset the graph?