Browse Source
Merge pull request #13059 from vvlladd28/bug/charts/translate-axes
Fix custom translation not working for Y-axis label in chart widget
pull/13080/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/chart/time-series-chart.ts
|
|
|
@ -793,7 +793,7 @@ export class TbTimeSeriesChart { |
|
|
|
} |
|
|
|
} else { |
|
|
|
if (!axis.option.name) { |
|
|
|
axis.option.name = axis.settings.label; |
|
|
|
axis.option.name = this.ctx.utilsService.customTranslation(axis.settings.label, axis.settings.label); |
|
|
|
result.changed = true; |
|
|
|
} |
|
|
|
const nameGap = size; |
|
|
|
|