Skip to content

Line and area charts only showing tooltips if grid is enabled #4990

Closed Answered by lampsbr
lampsbr asked this question in Q&A
Discussion options

You must be logged in to vote

So by checking a minimal reproducible example, I found that my app's apex charts behaved differently than a jsFiddle version. I found out that my project came from a custom theme, used to bootstrap it years ago, and it had this CSS code for hiding most of my tooltips:

  line[stroke='transparent'] {
    display: none;
  }

There was also a ton of other custom CSS in an apex-chart.scss file. Also the library in use was not the default one, it imported a 2 year-old fork of apex-charts and made it project-default using a webpack sentence. So this part was not directly connected to this issue, but I removed it and installed up-to-date apex-charts anyway.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lampsbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant