|
1 | 1 | <p>
|
2 |
| - <mat-button-toggle-group name="toggleChart" aria-label="Toggle Chart" [value]="chartType" (change)="chartType = $event.value; redrawChart()"> |
| 2 | + <!-- <mat-button-toggle-group name="toggleChart" aria-label="Toggle Chart" [value]="chartType" (change)="chartType = $event.value; redrawChart()"> |
3 | 3 | <mat-button-toggle value="total">All</mat-button-toggle>
|
4 | 4 | <mat-button-toggle value="repo">Repo</mat-button-toggle>
|
5 | 5 | <mat-button-toggle value="sku">Runner</mat-button-toggle>
|
|
12 | 12 | <mat-button-toggle value="daily">Day</mat-button-toggle>
|
13 | 13 | <mat-button-toggle value="weekly">Week</mat-button-toggle>
|
14 | 14 | <mat-button-toggle value="monthly">Month</mat-button-toggle>
|
15 |
| - <mat-button-toggle value="rolling20">20-Day</mat-button-toggle> |
| 15 | + <mat-button-toggle value="rolling30">30-Day</mat-button-toggle> |
16 | 16 | <mat-button-toggle value="rolling7">7-Day</mat-button-toggle>
|
17 |
| - </mat-button-toggle-group> |
| 17 | + </mat-button-toggle-group> --> |
| 18 | + <mat-form-field> |
| 19 | + <mat-label>Grouping</mat-label> |
| 20 | + <mat-select [(value)]="chartType" (selectionChange)="chartType = $event.value; redrawChart()"> |
| 21 | + <mat-option value="total">All</mat-option> |
| 22 | + <mat-option value="repo">Repo</mat-option> |
| 23 | + <mat-option value="sku">Runner</mat-option> |
| 24 | + <mat-option value="workflow">Workflow</mat-option> |
| 25 | + <mat-option value="user">User</mat-option> |
| 26 | + </mat-select> |
| 27 | + </mat-form-field> |
| 28 | + <mat-form-field> |
| 29 | + <mat-label>Time Aggregate</mat-label> |
| 30 | + <mat-select [(value)]="timeType" (selectionChange)="timeType = $event.value; redrawChart()"> |
| 31 | + <mat-option value="total">Total</mat-option> |
| 32 | + <mat-option value="run">Run</mat-option> |
| 33 | + <mat-option value="daily">Day</mat-option> |
| 34 | + <mat-option value="weekly">Week</mat-option> |
| 35 | + <mat-option value="monthly">Month</mat-option> |
| 36 | + <mat-option value="rolling30">30-Day</mat-option> |
| 37 | + <mat-option value="rolling7">7-Day</mat-option> |
| 38 | + </mat-select> |
| 39 | + </mat-form-field> |
18 | 40 | </p>
|
19 | 41 |
|
20 | 42 | <highcharts-chart #chart
|
|
0 commit comments