Kade
08-15-2024Data Storage
Turning off click to filter on Widget
Hello everyone,
Is it possible to disable the functionality that allows users to click on the legend in the widget to filter data?
Currently, when a legend is clicked to filter out a category, it disrupts the y-axis of the stacked bar chart, and the issue persists even when the legend is clicked again to restore the data.
Setting a maximum value for the y-axis isn't effective because all four values change dynamically based on the dashboard filters.
Thank you.
Thank you.
Hey Kade
Please try to use the following widget script to disable the Clickable Legend.
the Script disable the pointer events such as click.widget.on('ready', function(se, ev){ // Disable pointer events to make the legend unclickable $('.highcharts-legend').css('pointer-events', 'none'); });
Best Regards