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
Make the Cloud Usage -tooltip easier to read #1254
Comments
Hi @mikkelsonnenschein, this looks like a great update! I just added this issue to our project board. Please feel free to submit a PR and reach out for any additional support. |
Hi @camcash17, I am working on a file called I want to apply the chart colors from the palette, however i am stuck trying to access them... here's the code:
Do you have a suggestion for how to go about applying this color? 😅 |
Hi @mikkelsonnenschein sorry for the late reply, and thanks for being willing to work on this! It seems like you're accessing the palette colors in the correct way, which is the same way we do to access the base colors in other parts of the code. Maybe it's worth trying the Let me know if that helps! |
Hi @4upz. Thanks for the response! It seems like I get 2 different theme objects when in customToolTipStyles.ts
While ApexLineChart.tsx
Do you have an input on how i can get full theme object incl. chart colors in |
@mikkelsonnenschein Sorry, took a minute to get to the root of this. The good news is that it is not on your end! The culprit seems to be that the CustomToolTip is rendered as static markup as shown in ApexLineCharts.ts#L210 I believe this is causing the component to not receive the ThemeProvider context that allows the I'd recommend passing the theme object used by Let me know if that helps or if that makes sense! Happy to suggest other solutions if you have additional trouble. |
Feature Suggestion
Is your feature request related to a problem? Please describe.
I find it hard to quickly skim the values of the custom tool tip on the cloud usage card.
Describe the solution you'd like
Add some styling to the tooltip to make it easier to see read the values of the data point
Additional context
Current design
Possible Implementation
I would suggest breaking the tooltip into a small table format, and add the colors of the corresponding graph.
If you think it is relevant, I would like to help out with the implementation of this.
The text was updated successfully, but these errors were encountered: