Skip to content

Commit

Permalink
fix: use base data for reference setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tylercchase committed Nov 13, 2024
1 parent 77d61d0 commit 2315154
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export class TimeseriesChartComponent implements OnInit, OnDestroy {
'temporal_baseline': result.point[key].temporal_baseline,
})
this.timeSeriesData.push({
'short_wavelength_displacement': result.point[key].short_wavelength_displacement + (this.baseData?.short_wavelength_displacement ?? 0),
'short_wavelength_displacement': result.point[key].short_wavelength_displacement - (this.baseData?.base ?? 0),
'date': result.point[key].secondary_datetime,
'seriesNumber': result.state.seriesNumber,
'base': result.point[key].short_wavelength_displacement,
Expand Down

0 comments on commit 2315154

Please sign in to comment.