Skip to content

[Bug]: [@fluentui/react-chart][Vertical-Bar-chart] show wrong data when the value for Y is less than 1 #30213

Description

@Gutentag0004

Library

React / v8 (@fluentui/react)

System Info

$ npx envinfo --system --npmPackages @fluentui/react-charting --browsers
npm WARN exec The following package was not found and will be installed: envinfo@7.11.0

  System:
    OS: Windows 11 10.0.22621
    CPU: (8) x64 Intel(R) Xeon(R) W-2223 CPU @ 3.60GHz
    Memory: 4.56 GB / 31.69 GB
  Browsers:
    Edge: Chromium (120.0.2210.91)
    Internet Explorer: 11.0.22621.1

Are you reporting Accessibility issue?

None

Reproduction

/

Bug Description

Actual Behavior

fill this out
image

Expected Behavior

fill this out
this value for Y should be something like 0.18 but it is shown as 180m

Logs

No response

Requested priority

High

Products/sites affected

No response

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions