Commit d67b90cf67f4609262218fbdc031a2b096c54730
1 parent
688a2720
UI: Bar Chart, fix applying default thresholds line width
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -278,7 +278,7 @@ export class TbFlot { | @@ -278,7 +278,7 @@ export class TbFlot { | ||
278 | }; | 278 | }; |
279 | } | 279 | } |
280 | 280 | ||
281 | - if (this.chartType === 'line' && isFinite(this.settings.thresholdsLineWidth)) { | 281 | + if ((this.chartType === 'line' || this.chartType === 'bar') && isFinite(this.settings.thresholdsLineWidth)) { |
282 | this.options.grid.markingsLineWidth = this.settings.thresholdsLineWidth; | 282 | this.options.grid.markingsLineWidth = this.settings.thresholdsLineWidth; |
283 | } | 283 | } |
284 | 284 |