You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Render the VerticalBarChart component with a dataset where all Y-axis values are 0.
2.Observe that the chart appears blank (an empty
is displayed instead of bars).
3.Modify the dataset by changing at least one Y-axis value to 0.01 or higher.
4.Observe that the chart now renders correctly with bars visible.
Expected Behavior:
The chart should display even when all Y-axis values are 0, instead of rendering an empty
.
Are you reporting an Accessibility issue?
None
Suggested severity
Urgent - No workaround and Products/sites are affected
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.
The text was updated successfully, but these errors were encountered:
Charting Control
VerticalBarChart
Package version
5.23.51
React version
17.0.2
Environment
Current Behavior
VerticalBarChart appears blank when all Y-axis data points are zero; it only renders when at least one value is non zeros.
Expected Behavior
VerticalBarChart should display even when all Y-axis values are zero.
Reproduction
https://codepen.io/yogitha-525/pen/NPWGpro?editors=1111
Steps to reproduce
1.Render the VerticalBarChart component with a dataset where all Y-axis values are 0.
2.Observe that the chart appears blank (an empty
3.Modify the dataset by changing at least one Y-axis value to 0.01 or higher.
4.Observe that the chart now renders correctly with bars visible.
Expected Behavior:
The chart should display even when all Y-axis values are 0, instead of rendering an empty
Are you reporting an Accessibility issue?
None
Suggested severity
Urgent - No workaround and Products/sites are affected
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations
The text was updated successfully, but these errors were encountered: