Skip to content

Nearly zero axis label - Floating point rounding error #7069

Open
@stephprobst

Description

@stephprobst

There seems to be an issue with floating point calculation in some edge conditions. The "0" yaxis label of the following chart is completely off.

image

The code can be found here: https://codepen.io/toffi-fee/pen/WNWRgaX

There is a variety of options on how to fix this, e.g. by:

But even though there are workarounds, a clean fix would be highly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2considered for next cyclebugsomething brokencscustomer success

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions