From 0ffe89fb9f6112166765dd997cf549c6ca2665d9 Mon Sep 17 00:00:00 2001 From: Vladimir Chernitsyn Date: Wed, 8 Feb 2023 14:40:11 +0100 Subject: [PATCH] fix(Highcharts plugin): fix updating point x value (#121) --- 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, );