-
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: Custom callout support for Horizontal bar chart, Stacked bar chart and Donut chart #15298
Charting: Custom callout support for Horizontal bar chart, Stacked bar chart and Donut chart #15298
Conversation
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 553e79f:
|
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
Asset size changesUnable to find bundle size details for Baseline commit: f54b420 Possible causes
Recommendations
|
🎉 Handy links: |
🎉 Handy links: |
…edBarChart and DonutChart (microsoft#15697) Cherry-pick of microsoft#15298.
Pull request checklist
$ yarn change
Description of changes
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
Test link:
http://fabricweb.z5.web.core.windows.net/pr-deploy-site/refs/pull/15298/merge/charting/dist/index.html#/examples/Donutchart