Skip to content
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

Tooltip not hiding #422

Open
10YAR opened this issue Apr 21, 2024 · 0 comments
Open

Tooltip not hiding #422

10YAR opened this issue Apr 21, 2024 · 0 comments

Comments

@10YAR
Copy link

10YAR commented Apr 21, 2024

When I use the doughnut chart with these options, the tooltip is still displayed :

options={{
  responsive: true,
  interaction: {
    intersect: false,
  },
  plugins: {
    tooltip: {
      enabled: false,
    },
    legend: {
      display: false,
    },
    title: {
      display: false,
    },
  },
}}

Temporary fix:
add this to your css file:

.disable-tooltips .chartjs-tooltip {
  display: none;
}

then add the disable-tooltips class on your <CChartDoughnut> element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant