Fluent UI v9 and @fluentui/react-charting #28014
Replies: 3 comments 3 replies
-
Hey @mr-github-user. We have starting onboarding the react-charting library to fluent v9. We are piloting with sparkline and donut chart in this month. |
Beta Was this translation helpful? Give feedback.
-
@mr-github-user Fluent v9 does not support the charting color palette yet. You can use the latest colors from the charting color palette from https://github.com/microsoft/fluentui/blob/master/packages/react-charting/docs/colors.md. Charting v8 requires a ThemeProvider to work correctly. The v9 theme tokens are not hooked up in charting library yet. |
Beta Was this translation helpful? Give feedback.
-
Hi @AtishayMsft, Similar question - I want to incorporate charts into my app. I'm using fluent v9 for everything else - should I start with Thank you! |
Beta Was this translation helpful? Give feedback.
-
@micahgodbolt
I'm using Fluent UI react components v9 in a new application.
I want to use the charting library @fluentui/react-charting.
I've starting using multiple charts in my application and noticed that the themes in react-charting are not compatible with the themes in the v9 react components.
I don't want to use another library, and I figure that react-charting has just not been updated to v9 yet.
That being said do you have any recommendations as to how I should incorporate v9 style tokens into the react-charting styles? I know it would probably be a temporary measure. But I really don't want to pull in another library.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions