Home Forums Feature Requests & Feedback Return to automatic counting minimum & maximum for AxesY

Return to automatic counting minimum & maximum for AxesY

Viewing 2 posts - 1 through 2 (of 2 total)
  • #8617

    Hello!

    How can I return to automatic counting minimum & maximum for AxesY?

    “chart.options.axisY.minimum = undefined;” – doesn’t work properly.

    var chart = new CanvasJS.Chart(“chartContainer”,
    {
    axisY:{minimum:20},

    });

    chart.render();
    chart.options.axisY.minimum = undefined;
    chart.render();

    BR
    Mikhail

    #8619

    Hello,

    This seems like a regression bug. We’ll fix this in upcoming versions by allowing you to set null or undefined. For now you can do the same by deleting the minimum/maximum property as shown below.

    delete chart.options.axisY.minimum;

    __
    Anjali

    • This reply was modified 9 years, 7 months ago by Anjali.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.