-
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
Charting: Adding custom Callout support for HorizontalBarChart, StackedBarChart and DonutChart #15697
Charting: Adding custom Callout support for HorizontalBarChart, StackedBarChart and DonutChart #15697
Conversation
…edBarChart and DonutChart.
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit bca66b9:
|
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 1370675e769de5a68d5a5a0a33d420e31b6c6af3 (build) |
🎉 Handy links: |
…edBarChart and DonutChart (microsoft#15697) Cherry-pick of microsoft#15298.
Pull request checklist
$yarn change
Description of changes
Cherry-pick of #15298.
Original PR description:
Custom callout support added to
To add this, Exposed callout props and added a new callback method prop to the chart props. As a callback, below details will be avilable.
Implementing custom callout feature, Need to implement own callout component and need to pass props like below (Here, for example I am using CardHoverCard common component). See Examples file once.
Focus areas to test
Horizontal bar chart
Default callout example
Custom callout Example
Donut chart
Default callout example
Custom callout example
Stacked bar chart
Default callout example
Custom callout example
Multi stacked bar chart
Default callout example
Custom callout example