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

Stop all chart interactions #1496

Open
ChristopherJohnson25 opened this issue Jan 17, 2024 · 1 comment
Open

Stop all chart interactions #1496

ChristopherJohnson25 opened this issue Jan 17, 2024 · 1 comment
Labels
question General question.

Comments

@ChristopherJohnson25
Copy link

Is there a chart setting or option to stop all chart interactions? I'd like to be able to have a mode for static chart only. I've tried a number of different settings to no avail.

@SlicedSilver SlicedSilver added the question General question. label Jan 17, 2024
@SlicedSilver
Copy link
Contributor

Within the chart settings you could set handleScroll and handleScale to false.

Or you could just place a transparent div on top of the chart with the following css property added: pointer-events: none. That would stop any mouse / touch events from reaching the chart.

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

No branches or pull requests

2 participants