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

This topic contains 1 reply, has 2 voices, and was last updated by  Anjali 1 year, 8 months ago.

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

    mkruchkov
    Participant

    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

    Anjali
    Participant

    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 1 year, 8 months ago by  Anjali.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.