Skip to content

Conversation

@Anush2303
Copy link
Contributor

Related Issue(s)

  • Fixes #

@Anush2303 Anush2303 marked this pull request as ready for review January 14, 2026 12:12
@Anush2303 Anush2303 requested a review from a team as a code owner January 14, 2026 12:12
@github-actions
Copy link

github-actions bot commented Jan 14, 2026

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-charts
DeclarativeChart
753.547 kB
217.139 kB
753.567 kB
217.159 kB
20 B
20 B
react-charts
DonutChart
316.906 kB
94.436 kB
316.926 kB
94.44 kB
20 B
4 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-charts
AreaChart
406.418 kB
124.303 kB
react-charts
FunnelChart
308.476 kB
91.345 kB
react-charts
GanttChart
389.539 kB
118.026 kB
react-charts
GaugeChart
316.361 kB
93.822 kB
react-charts
GroupedVerticalBarChart
397.419 kB
120.628 kB
react-charts
HeatMapChart
391.62 kB
119.689 kB
react-charts
HorizontalBarChart
296.996 kB
87.191 kB
react-charts
HorizontalBarChartWithAxis
63 B
83 B
react-charts
Legends
236.071 kB
69.561 kB
react-charts
LineChart
416.992 kB
126.383 kB
react-charts
PolarChart
345.876 kB
105.617 kB
react-charts
SankeyChart
217.707 kB
67.103 kB
react-charts
ScatterChart
396.819 kB
120.55 kB
react-charts
Sparkline
91.393 kB
28.708 kB
react-charts
VerticalBarChart
432.429 kB
125.968 kB
react-charts
VerticalStackedBarChart
403.331 kB
121.424 kB
🤖 This report was generated against 9745983cfa8656d24418bdf01386e9fc4243d774

@github-actions
Copy link

Pull request demo site: URL

@@ -0,0 +1,7 @@
{
Copy link

@github-actions github-actions bot Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵🏾‍♀️ visual changes to review in the Visual Change Report

vr-tests-react-components/Charts-DonutChart 6 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/Charts-DonutChart.Basic - Dark Mode.default.chromium.png 9043 Changed
vr-tests-react-components/Charts-DonutChart.Basic.default.chromium.png 10058 Changed
vr-tests-react-components/Charts-DonutChart.Dynamic - RTL.default.chromium.png 5882 Changed
vr-tests-react-components/Charts-DonutChart.Dynamic - Dark Mode.default.chromium.png 4731 Changed
vr-tests-react-components/Charts-DonutChart.Dynamic.default.chromium.png 5883 Changed
vr-tests-react-components/Charts-DonutChart.Basic - RTL.default.chromium.png 10059 Changed
vr-tests-react-components/Positioning 2 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/Positioning.Positioning end.chromium.png 728 Changed
vr-tests-react-components/Positioning.Positioning end.updated 2 times.chromium.png 868 Changed
vr-tests-react-components/TagPicker 2 screenshots
Image Name Diff(in Pixels) Image Type
vr-tests-react-components/TagPicker.disabled.chromium.png 677 Changed
vr-tests-react-components/TagPicker.disabled - Dark Mode.chromium.png 658 Changed

There were 2 duplicate changes discarded. Check the build logs for more information.

@AtishayMsft
Copy link
Contributor

The chart got shifted down after your previous change. Can you fix that as well.
image

@Anush2303
Copy link
Contributor Author

The chart got shifted down after your previous change. Can you fix that as well. image

can you share the run link?

@AtishayMsft
Copy link
Contributor

The chart got shifted down after your previous change. Can you fix that as well. image

can you share the run link?

microsoft/fluentui-charting-contrib@23b2068

className={classes.chart}
aria-label={data?.chartTitle}
width={_width}
height={_height! + titleHeight / 2}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why titleHeight / 2

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding titleHeight is increasing distance between legends and donut a lot.
to resolve above issue also (chart shifting downwards), I will transform pie by titleHeight/2, currently it is getting transformed by titleHeight which is increasing the gap

@Anush2303
Copy link
Contributor Author

legendContainer.current = e;
}}
className={classes.legendContainer}
style={{ marginTop: data?.chartTitle ? `-${titleHeight}px` : undefined }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

titleHeight

should this not be titleHeight/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants