Skip to content

Commit

Permalink
Merge pull request #10756 from ArtemDzhereleiko/AD/imp/timeseries-cha…
Browse files Browse the repository at this point in the history
…rt-comparison-hint

Added hint for Time series chart for comparison series
  • Loading branch information
ikulikov committed May 22, 2024
2 parents 7352803 + 9d19847 commit 6f01074
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions ui-ngx/src/assets/locale/locale.constant-en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6f01074

Please sign in to comment.