Skip to content

Commit 1ec1d21

Browse files
committed
bug fix: calc y axis for trimmed series
1 parent 37fb1f5 commit 1ec1d21

File tree

1 file changed

+1
-1
lines changed
  • app/ui/src/components/charts/lines

1 file changed

+1
-1
lines changed

app/ui/src/components/charts/lines/chart.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class LineChart {
9696
chartId = `chart_${Math.round(Math.random() * 1e9)}`
9797

9898
changeScale() {
99-
let plotSeries = this.baseSeries.concat(this.currentSeries).map(s => s.series)
99+
let plotSeries = this.baseSeries.concat(this.currentSeries).map(s => s.trimmedSeries)
100100
if (plotSeries.length == 0) {
101101
this.yScale = d3.scaleLinear()
102102
.domain([0, 0])

0 commit comments

Comments
 (0)