diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart-tooltip.models.ts b/ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart-tooltip.models.ts index f40e95276e..713e7b9373 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart-tooltip.models.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart-tooltip.models.ts @@ -130,11 +130,7 @@ export class TimeSeriesChartTooltip { this.renderer.appendChild(tooltipItemsElement, this.constructTooltipDateElement(items[0].param, interval)); } for (const item of items) { - if (this.settings.tooltipHideZeroFalse) { - if (item.param.value[1]) { - this.renderer.appendChild(tooltipItemsElement, this.constructTooltipSeriesElement(item)); - } - } else { + if (!this.settings.tooltipHideZeroFalse || item.param.value[1]) { this.renderer.appendChild(tooltipItemsElement, this.constructTooltipSeriesElement(item)); } }