Skip to content

[Bug]: Stacked Bar chart is incorrectly represented when the data points on y-axis are larger than 1000 #29649

@soberams

Description

@soberams

Library

React / v8 (@fluentui/react)

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 28.48 GB / 47.71 GB
  Browsers:
    Edge: Chromium (118.0.2088.46)
    Internet Explorer: 11.0.22621.1

Are you reporting Accessibility issue?

no

Reproduction

https://codepen.io/sobera123/pen/LYqVqRN

Bug Description

Actual Behavior

When in a Stacked Vertical Bar Chart the values are high (> 1000), the bar heights are not matching the y-axis points on the left
image

Expected Behavior

In the above case, 1st bar has total value of 2.5k and should have a height between the 2.9k and 3.9k references on y-axis

Logs

No response

Requested priority

High

Products/sites affected

Internal Business Critical Product

Are you willing to submit a PR to fix?

no

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions