Browse Source
Merge pull request #9883 from ArtemDzhereleiko/AD/bug-fix/flot-with-legend
Fixed flot widget custom legend
pull/9904/head
Igor Kulikov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/flot-widget.ts
|
|
|
@ -1058,7 +1058,9 @@ export class TbFlot { |
|
|
|
const series = this.subscription.data[i] as TbFlotSeries; |
|
|
|
this.substituteLabelPatterns(series, i); |
|
|
|
} |
|
|
|
this.updateData(); |
|
|
|
if (this.plot) { |
|
|
|
this.updateData(); |
|
|
|
} |
|
|
|
this.ctx.detectChanges(); |
|
|
|
} |
|
|
|
|
|
|
|
|