overview-window.component.html 1.43 KB
Newer Older
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
1
2
3
<div class="main-container">
  <as-split direction="horizontal">
    <as-split-area [size]="10">
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
4
5
6
      <div class="channel_header">
        Channels
      </div>
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
7
8
9
10
11
12
13
      <div class="list">
        <div class="list-element" *ngFor="let index of allChannels">
          <label class="container">{{ names[index] }}
            <input type="checkbox" [checked]="isInSelection(index)" (click)="changeSelection(index)">
            <span class="checkmark" [ngStyle]="isInSelection(index) && {'background-color': getColor(index)} || {}"></span>
          </label>
        </div>
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
14
      </div>
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
15
    </as-split-area>
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
16
    <as-split-area [size]="90" [style]="{'overflow-y': 'hidden'}">
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
17
18
19
20
      <div class="channel_header">
        Dataset overview
      </div>
      <div class="toolbar">
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
21

Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
22
23
        <label class="small-margin" for="min">Start</label><br>
        <input class="small-margin" id="min" [(ngModel)]="minx">
24

Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
25
26
        <label class="small-margin" for="max">End</label><br>
        <input class="small-margin" [(ngModel)]="maxx" id="max">
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
27

Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
28
29
        <label class="small-margin" for="w">Window Size</label><br>
        <input class="small-margin" [disabled]="true" [value]="maxx - minx" id="w">
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
30
31
32
33
34
        <button (click)="setquery()">
          Set as query
        </button>
      </div>
      <div class="overview">
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
35
        <zingchart-angular #chart [id]="id" (wheel)="scroll($event)" [height]="height"></zingchart-angular>
Kruyff,D.L.W. (Dylan)'s avatar
Kruyff,D.L.W. (Dylan) committed
36
37
38
      </div>
    </as-split-area>
  </as-split>
39
</div>