Browse Source

Enhanced validation

pull/14763/head
Maksym Tsymbarov 5 months ago
committed by Vladyslav Prykhodko
parent
commit
d6a9f8fd27
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart.ts

2
ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart.ts

@ -661,7 +661,7 @@ export class TbTimeSeriesChart {
}
}
} else if (limit.type === ValueSourceType.constant) {
const value = unitConvertor ? unitConvertor(limit.value) : limit.value;
const value = unitConvertor && isDefinedAndNotNull(limit.value) ? unitConvertor(limit.value) : limit.value;
if (limitType === 'min') {
yAxis.option.min = value;
} else {

Loading…
Cancel
Save