-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
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
feat(react-charts-preview): Migrate VSBC to V9 #33909
base: master
Are you sure you want to change the base?
Conversation
📊 Bundle size report✅ No changes found |
Pull request demo site: URL |
...arts-preview/library/src/components/VerticalStackedBarChart/VerticalStackedBarChart.types.ts
Show resolved
Hide resolved
🕵 fluentuiv9 No visual regressions between this PR and main |
...ct-charts-preview/library/src/components/VerticalStackedBarChart/VerticalStackedBarChart.tsx
Show resolved
Hide resolved
...ct-charts-preview/library/src/components/VerticalStackedBarChart/VerticalStackedBarChart.tsx
Show resolved
Hide resolved
_points = props.data || []; | ||
_barWidth = getBarWidth(props.barWidth, props.maxBarWidth); | ||
const defaultColors: string[] = [ | ||
tokens.colorPaletteBlueForeground2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean, we should use new set of default colors?
...ct-charts-preview/library/src/components/VerticalStackedBarChart/VerticalStackedBarChart.tsx
Show resolved
Hide resolved
...ct-charts-preview/library/src/components/VerticalStackedBarChart/VerticalStackedBarChart.tsx
Outdated
Show resolved
Hide resolved
import { max as d3Max, min as d3Min } from 'd3-array'; | ||
import { Axis as D3Axis } from 'd3-axis'; | ||
import { select as d3Select } from 'd3-selection'; | ||
import { useVerticalStackedBarChartStyles_unstable } from './useVerticalStackedBarChartStyles.styles'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just added tabIndex attribute. Just like other v9 charts.
Related Issue(s)