Browse Source
Merge pull request #10756 from ArtemDzhereleiko/AD/imp/timeseries-chart-comparison-hint
Added hint for Time series chart for comparison series
pull/10856/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
1 deletions
-
ui-ngx/src/app/modules/home/components/widget/config/basic/chart/time-series-chart-basic-config.component.html
-
ui-ngx/src/assets/locale/locale.constant-en_US.json
|
|
|
@ -27,7 +27,9 @@ |
|
|
|
</tb-datasources> |
|
|
|
<div class="tb-form-panel"> |
|
|
|
<div fxLayout="row" fxLayoutAlign="space-between center"> |
|
|
|
<div class="tb-form-panel-title">{{ 'widgets.chart.series' | translate }}</div> |
|
|
|
<div class="tb-form-panel-title" tb-hint-tooltip-icon="{{ seriesMode === 'comparison' ? ('widgets.time-series-chart.comparison.comparison-hint' | translate) : null }}"> |
|
|
|
{{ 'widgets.chart.series' | translate }} |
|
|
|
</div> |
|
|
|
<tb-toggle-select [ngModel]="seriesMode" (ngModelChange)="seriesModeChange($event)" |
|
|
|
[ngModelOptions]="{ standalone: true }"> |
|
|
|
<tb-toggle-option value="series">{{ 'widgets.chart.series' | translate }}</tb-toggle-option> |
|
|
|
|
|
|
|
@ -7062,6 +7062,7 @@ |
|
|
|
"bar-width-absolute": "Absolute (ms)", |
|
|
|
"comparison": { |
|
|
|
"comparison": "Comparison", |
|
|
|
"comparison-hint": "Comparison works only with historical data!", |
|
|
|
"show": "Show", |
|
|
|
"settings": "Comparison settings", |
|
|
|
"show-values-for-comparison": "Show historical data for comparison", |
|
|
|
|