Skip to content

Commit 7a920a3

Browse files
committed
fix sliding x-axis
1 parent 001caf0 commit 7a920a3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

angular-client/src/pages/graph-page/graph/graph.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export default class CustomGraphComponent implements OnChanges, OnInit {
6262
// Update y-axis configurations
6363
this.chart.updateOptions(
6464
{
65+
...this.options,
6566
yaxis: yaxisConfigs
6667
},
6768
false,
@@ -72,6 +73,7 @@ export default class CustomGraphComponent implements OnChanges, OnInit {
7273
this.isSliding = true;
7374
this.chart.updateOptions(
7475
{
76+
...this.options,
7577
xaxis: {
7678
range: this.timeRangeMs
7779
}

0 commit comments

Comments
 (0)