From f96237f06a0e791c3432aaef3e2dd23a26a7dbd0 Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Fri, 27 Sep 2024 15:43:43 +0200 Subject: [PATCH] chore: try disabling the inactive state changes --- .../config/adapters/dhis_highcharts/plotOptions.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/visualizations/config/adapters/dhis_highcharts/plotOptions.js b/src/visualizations/config/adapters/dhis_highcharts/plotOptions.js index 928019506..aa2d91002 100644 --- a/src/visualizations/config/adapters/dhis_highcharts/plotOptions.js +++ b/src/visualizations/config/adapters/dhis_highcharts/plotOptions.js @@ -68,6 +68,11 @@ export default ({ point: { events: { click: function () { + console.log( + 'jj onClick handler', + this.category, + this.series.name + ) onClick(this.graphic?.element, { category: this.category, series: this.series.name, @@ -75,6 +80,10 @@ export default ({ }, }, }, + states: { + inactive: { + enabled: false, + }, }, } : {}