diff --git a/src/app/item-detail/label-trend/label-trend.component.ts b/src/app/item-detail/label-trend/label-trend.component.ts index 3f686b37..ca4a709a 100644 --- a/src/app/item-detail/label-trend/label-trend.component.ts +++ b/src/app/item-detail/label-trend/label-trend.component.ts @@ -54,7 +54,7 @@ export class LabelTrendComponent implements OnInit { { environment: this.trendInput.environment } ) .subscribe(__ => { - this.vuFilters = __.result.filter((r) => r.count > 5).map((r) => r.maxVu); + this.vuFilters = __.result.filter((r) => r.count >= 5).map((r) => r.maxVu); }); }); } @@ -79,7 +79,7 @@ export class LabelTrendComponent implements OnInit { virtualUsers } ).subscribe((_) => { - this.labelChartOption = _.timePoints.length > 5 ? labelTrendChartOptions(_) : emptyChart(); + this.labelChartOption = _.timePoints.length >= 5 ? labelTrendChartOptions(_) : emptyChart(); this.updateData(); }); }