Skip to content

Commit

Permalink
fix(Highcharts plugin): fix updating point x value (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Chernitsyn authored Feb 8, 2023
1 parent e104fcc commit 0ffe89f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/highcharts/renderer/helpers/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand Down

0 comments on commit 0ffe89f

Please sign in to comment.