Browse Source
Merge pull request #4788 from ChantsovaEkaterina/bug/bar-chart-default-thresholds-line-width
UI: Bar Chart, fix applying default thresholds line width
pull/4851/head
Igor Kulikov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|