diff --git a/src/plugins/highcharts/renderer/helpers/config/config.js b/src/plugins/highcharts/renderer/helpers/config/config.js index a80d2540..43740d60 100644 --- a/src/plugins/highcharts/renderer/helpers/config/config.js +++ b/src/plugins/highcharts/renderer/helpers/config/config.js @@ -1701,14 +1701,18 @@ export function prepareConfig(data, options, isMobile, holidays) { } }, }, - point: { - events: { - click: function () { - // Prevent slicing of pie segment after clicking it - return false; - }, - }, - }, + ...(options.preventDefaultForPointClick !== false + ? { + point: { + events: { + click: function () { + // Prevent slicing of pie segment after clicking it + return false; + }, + }, + }, + } + : {}), marker: options.splitTooltip ? { states: {