Skip to content

Commit 8507f3d

Browse files
committed
Fixed redraw after filtering etc.
1 parent f8b3b40 commit 8507f3d

13 files changed

+65
-170
lines changed

frontend/package-lock.json

Lines changed: 19 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/app/modules/time-series/components/time-series-chart/time-series-chart.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
<span class="input-group dimension-group">
77
<label
88
class="input-group-addon settings-element dimension-label">{{'frontend.de.iteratec.isr.measurand.group.axisLabel.' + measurandGroup.key | translate}}</label>
9-
<input (focusout)="adjustInputRangeAndInputValues('min', 'max', measurandGroup.key); redraw()"
10-
(input)="adjustInputRangeAndInputValuesByEvent($event, 'min', 'max', measurandGroup.key); redraw()"
9+
<input (focusout)="adjustInputRangeAndInputValues('min', 'max', measurandGroup.key)"
10+
(input)="adjustInputByEvent($event, 'min', 'max', measurandGroup.key)"
1111
[(ngModel)]="selectedTrimValues.min[measurandGroup.key]"
1212
[max]="dataTrimInputRange.max[measurandGroup.key]"
1313
[min]="dataTrimInputRange.min[measurandGroup.key]"
1414
[step]="dataTrimInputStep[measurandGroup.key]"
1515
class="form-control settings-element trim-value-input-field min-input"
1616
placeholder="{{'frontend.de.iteratec.osm.timeSeries.chart.settings.minimum' | translate}}"
1717
type="number">
18-
<input (focusout)="adjustInputRangeAndInputValues('max', 'min', measurandGroup.key); redraw()"
19-
(input)="adjustInputRangeAndInputValuesByEvent($event, 'max', 'min', measurandGroup.key); redraw()"
18+
<input (focusout)="adjustInputRangeAndInputValues('max', 'min', measurandGroup.key)"
19+
(input)="adjustInputByEvent($event, 'max', 'min', measurandGroup.key)"
2020
[(ngModel)]="selectedTrimValues.max[measurandGroup.key]"
2121
[max]="dataTrimInputRange.max[measurandGroup.key]"
2222
[min]="dataTrimInputRange.min[measurandGroup.key]"

frontend/src/app/modules/time-series/components/time-series-chart/time-series-chart.component.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ osm-time-series-line-chart {
4444

4545
text {
4646
fill: $color-text-light;
47-
opacity: 0.7;
4847
}
4948

5049
.description {
@@ -58,6 +57,10 @@ osm-time-series-line-chart {
5857
}
5958
}
6059

60+
.y-axis text {
61+
opacity: 0.7;
62+
}
63+
6164
.marker-line {
6265
stroke: $color-contour-medium;
6366
stroke-width: 1px;

0 commit comments

Comments
 (0)