move axisScale to y-axis-definition component

This commit is contained in:
2020-02-08 12:53:50 +01:00
parent 4dc41faeae
commit 6109227508
4 changed files with 12 additions and 11 deletions

View File

@@ -1,4 +1,13 @@
<div>
<mat-form-field>
<mat-label>Y-Axis:</mat-label>
<mat-select [(value)]="yAxisScale">
<mat-option value="LOG10">Logarithm</mat-option>
<mat-option value="LINEAR">Linear</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field class="pdb-form-mid">
<mat-label>Y-Axis Range:</mat-label>
<mat-select [(value)]="yAxisUnit">

View File

@@ -7,6 +7,8 @@ import { Component, Input } from '@angular/core';
})
export class YAxisDefinitionComponent {
yAxisScale: string = "LOG10";
yAxisUnit: string = "SECONDS";
minYValue: number = 0;
maxYValue: number = 300;