Our great sponsors
-
I'm working on a Vue app and I'm using ApexCharts, and I'm running into an issue with how this library normally handles clicks: if you click on a bar in a bar chart, it will visibly toggle it, so the color changes. This is a problem because when it visibly toggles, it messes up what I'm trying to show on the page. There are multiple potential solutions to this, none of which I seem to be able to do with this library. But the simplest is to just disable clicks on the chart, so clicking anywhere will do absolutely nothing. But even this I can't figure out how to accomplish. I tried a @click.stop handler, I tried a @click handler that passes an event where I call event.preventDefault(), event.stopPropagation(), and event.stopImmediatePropagation(). None of these work.