Home forums Using CanvasJS Keep range when hide data. Reply To: Keep range when hide data.


Hi Indranil:

Thank you for your reply, I think that is the answer I need.

But I have a suggestion, instead of let user do this every time:

chart.axisY[0].set(“minimum”, chart.axisY[0].get(“minimum”));
chart.axisY[0].set(“maximum”, chart.axisY[0].get(“maximum”));
chart.axisX[0].set(“minimum”, chart.axisX[0].get(“minimum”));
chart.axisX[0].set(“maximum”, chart.axisX[0].get(“maximum”));

why not provide an option to let user do this easier?