We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VerticalBarChart
@fluentui/react-charts-preview 0.1.6
17.0.2
System: OS: Windows 11 10.0.26100 CPU: (22) x64 Intel(R) Core(TM) Ultra 7 165H Memory: 8.63 GB / 31.64 GB Browsers: Edge: Chromium (131.0.2903.146) npmPackages: react: ^17.0.2 => 17.0.2 react-dom: ^17.0.2 => 17.0.2
Chart works great when at least one data point is greater than 0. If all data points are equal to 0 it is not rendered.
A mitigation is to set an empty line in one of the data points
const points: VerticalBarChartDataPoint[] = [ { x: 0, y: 0, }, { x: 10000, y: 0, lineData: { y: 0 }, }, ];
0 should be treated as a valid value, what we were expecting was to see the 'empty table'
https://stackblitz.com/edit/wqcgjysf?file=src%2Fexample.tsx
create a VerticalBarChart and use these datapoints:
const points: VerticalBarChartDataPoint[] = [ { x: 0, y: 0, }, { x: 10000, y: 0, // lineData: { // y: 0 // }, }, ];
None
Medium - Has workaround
No response
yes
The text was updated successfully, but these errors were encountered:
AtishayMsft
No branches or pull requests
Charting Control
VerticalBarChart
Package version
@fluentui/react-charts-preview 0.1.6
React version
17.0.2
Environment
Current Behavior
Chart works great when at least one data point is greater than 0. If all data points are equal to 0 it is not rendered.
A mitigation is to set an empty line in one of the data points
Expected Behavior
0 should be treated as a valid value, what we were expecting was to see the 'empty table'
Reproduction
https://stackblitz.com/edit/wqcgjysf?file=src%2Fexample.tsx
Steps to reproduce
create a VerticalBarChart and use these datapoints:
Are you reporting an Accessibility issue?
None
Suggested severity
Medium - Has workaround
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: