Home forums Feature Requests & Feedback auto axisY.minimum

This topic contains 2 replies, has 2 voices, and was last updated by  Daniel Silva 8 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10084

    Daniel Silva
    Participant

    I created a chart edit tool do change some values after the chart is displayed.
    If I set the axisY.minimum to a value, I cant later revert to a automatically calculated value.

    chart.options.axisY.minimum=5;
    chart.options.axisY.minimum=auto; //doesn’t work

    Is possible to implement this?

    #10085

    Sanjoy
    Moderator

    Daniel Silva,

    In canvasjs api you can unset a property by setting it to null. So, by setting minimum to null will revert it to automatically calculated value.

    #10086

    Daniel Silva
    Participant

    Its working.
    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.