diff --git a/script-gen-ui/src/app/components/main-sweep/plot-container/plot-bias/plot-bias.component.ts b/script-gen-ui/src/app/components/main-sweep/plot-container/plot-bias/plot-bias.component.ts index f305cc5..f67a295 100644 --- a/script-gen-ui/src/app/components/main-sweep/plot-container/plot-bias/plot-bias.component.ts +++ b/script-gen-ui/src/app/components/main-sweep/plot-container/plot-bias/plot-bias.component.ts @@ -270,7 +270,7 @@ export class PlotBiasComponent max = Math.max(...range); } } else { - max = parseToDecimal(this.sourceRange.value); + max = parseToDecimal(this.sourceRange.value,(this.plotLayout.yaxis2.ticksuffix).trim()); } if (typeof max === 'number' && !isNaN(max)) { const maxRange = PlotUtils.computeMaxRange(-max, max);