Browse Source

UI: Bar Chart, fix applying default thresholds line width

pull/4788/head
Chantsova Ekaterina 5 years ago
parent
commit
d67b90cf67
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/flot-widget.ts

2
ui-ngx/src/app/modules/home/components/widget/lib/flot-widget.ts

@ -278,7 +278,7 @@ export class TbFlot {
}; };
} }
if (this.chartType === 'line' && isFinite(this.settings.thresholdsLineWidth)) { if ((this.chartType === 'line' || this.chartType === 'bar') && isFinite(this.settings.thresholdsLineWidth)) {
this.options.grid.markingsLineWidth = this.settings.thresholdsLineWidth; this.options.grid.markingsLineWidth = this.settings.thresholdsLineWidth;
} }

Loading…
Cancel
Save