This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch ngx-translate
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 6633d7c339d5aee8c8bb3fcd50a7f540ba36ea8a
Merge: b1ab63554f 4fdc67df52
Author: Dominik Riemer <[email protected]>
AuthorDate: Mon Feb 17 21:38:54 2025 +0100

    Merge branch 'dev' into ngx-translate

 pom.xml                                            |  2 +-
 .../config/heatmap-widget-config.component.html    | 51 +++++++++++++++++++---
 .../config/heatmap-widget-config.component.ts      | 18 ++++++++
 .../charts/heatmap/heatmap-renderer.service.ts     | 16 +++++--
 .../charts/heatmap/model/heatmap-widget.model.ts   |  2 +
 5 files changed, 77 insertions(+), 12 deletions(-)

diff --cc 
ui/src/app/data-explorer-shared/components/charts/heatmap/config/heatmap-widget-config.component.html
index 0a1f9182d7,fbb066fdbe..7b4c463792
--- 
a/ui/src/app/data-explorer-shared/components/charts/heatmap/config/heatmap-widget-config.component.html
+++ 
b/ui/src/app/data-explorer-shared/components/charts/heatmap/config/heatmap-widget-config.component.html
@@@ -32,13 -32,50 +32,50 @@@
          >
          </sp-select-single-property-config>
      </sp-configuration-box>
+ 
 -    <sp-configuration-box title="Settings">
 +    <sp-configuration-box [title]="'Settings' | translate">
-         <mat-checkbox
-             [(ngModel)]="
-                 
currentlyConfiguredWidget.visualizationConfig.showLabelsProperty
-             "
-             (change)="setShowLabelsProperty($event)"
-             >{{ 'Show values as labels' | translate }}
-         </mat-checkbox>
+         <div fxLayout="column" class="ml-10 mb-10">
+             <div class="mb-10">
+                 <mat-checkbox
+                     [(ngModel)]="
+                         currentlyConfiguredWidget.visualizationConfig
+                             .showLabelsProperty
+                     "
+                     (change)="setShowLabelsProperty($event)"
+                 >
 -                    Show values as labels
++                    {{ 'Show values as labels' | translate }}
+                 </mat-checkbox>
+             </div>
+             <div class="ml-10 mb-10" fxFlex fxLayoutAlign="start center">
+                 <small>Visual Map Min</small>
+                 <span fxFlex></span>
+                 <mat-form-field appearance="outline" color="accent" 
fxFlex="30">
+                     <input
+                         matInput
+                         [(ngModel)]="
+                             currentlyConfiguredWidget.visualizationConfig
+                                 .visualMapMin
+                         "
+                         (ngModelChange)="updateVisualMapMin($event)"
+                         type="number"
+                     />
+                 </mat-form-field>
+             </div>
+             <div class="ml-10 mb-10" fxFlex fxLayoutAlign="start center">
+                 <small>Visual Map Max</small>
+                 <span fxFlex></span>
+                 <mat-form-field appearance="outline" color="accent" 
fxFlex="30">
+                     <input
+                         matInput
+                         [(ngModel)]="
+                             currentlyConfiguredWidget.visualizationConfig
+                                 .visualMapMax
+                         "
+                         (ngModelChange)="updateVisualMapMax($event)"
+                         type="number"
+                     />
+                 </mat-form-field>
+             </div>
+         </div>
      </sp-configuration-box>
  </sp-visualization-config-outer>

Reply via email to