Skip to content

yAxis.min value is not correct on Bar charts #1230

@srcn

Description

@srcn

Codepen

https://codepen.io/srcn/pen/jOEeZzy

In the codepen, I log the yAxis.min and yAxis.max values to the console. So make sure your console is open.

Explanation

  • What is the behavior you expect?
    Bar chart yAxis.min value should be the minimum value of the current yAxis.

  • What is happening instead?
    yAxis.min is always 5e-324 no matter what the data is. yAxis.max works correctly. I didn't test all the chart types but with Line and Area charts, it does return the correct value.

  • What error message are you getting?
    There are no error messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions