From ed5383f62073733a5a2053c398e963458d4bfa8d Mon Sep 17 00:00:00 2001 From: Flunt1k Date: Wed, 8 Feb 2023 11:59:26 +0100 Subject: [PATCH] fix(Highcharts plugin): fix updating point x value --- src/plugins/highcharts/renderer/helpers/graph.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/highcharts/renderer/helpers/graph.ts b/src/plugins/highcharts/renderer/helpers/graph.ts index c5890d28..22030de5 100644 --- a/src/plugins/highcharts/renderer/helpers/graph.ts +++ b/src/plugins/highcharts/renderer/helpers/graph.ts @@ -70,7 +70,10 @@ function getGraph({options, data, comments, isMobile, holidays}: GetGraphArgs) { (index === data.length - 1 || data[index + 1].y == null) ) { point.update( - {marker: {enabled: true}} as Highcharts.PointOptionsType, + { + marker: {enabled: true}, + x: point.x, + } as Highcharts.PointOptionsType, false, false, );