Show AC app data visualization in new metrics tab
[portal/ric-dashboard.git] / webapp-frontend / src / app / stats / stats.component.html
index 4b3d2ef..2245829 100644 (file)
@@ -7,9 +7,9 @@
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
-  
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
+
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,8 +27,7 @@
                </mat-card-header>
                <mat-card-content>
                        <canvas baseChart [datasets]="cpuChartData" [labels]="cpuChartLabels" [options]="cpuChartOptions"
-                               [colors]="cpuChartColors" [legend]="cpuChartLegend" [chartType]="cpuChartType"
-                               (click)="loadClickData()">
+                               [colors]="cpuChartColors" [legend]="cpuChartLegend" [chartType]="cpuChartType" (click)="loadClickData()">
                        </canvas>
                </mat-card-content>
        </mat-card>
@@ -52,8 +51,8 @@
                                                </mat-card-header>
                                                <mat-card-content>
                                                        <canvas baseChart [datasets]="latencyChartData" [labels]="latencyChartLabels"
-                                                               [options]="latencyChartOptions" [colors]="latencyChartColors"
-                                                               [legend]="latencyChartLegend" [chartType]="latencyChartType" (click)="loadClickData()">
+                                                               [options]="latencyChartOptions" [colors]="latencyChartColors" [legend]="latencyChartLegend"
+                                                               [chartType]="latencyChartType" (click)="loadClickData()">
                                                        </canvas>
                                                </mat-card-content>
                                        </mat-card>
@@ -64,9 +63,9 @@
                                                        <mat-card-title>Pendulum Control Load</mat-card-title>
                                                </mat-card-header>
                                                <mat-card-content>
-                                                       <canvas baseChart [datasets]="loadChartData" [labels]="loadChartLabels"
-                                                               [options]="loadChartOptions" [colors]="loadChartColors" [legend]="loadChartLegend"
-                                                               [chartType]="loadChartType" (click)="loadClickData()">
+                                                       <canvas baseChart [datasets]="loadChartData" [labels]="loadChartLabels" [options]="loadChartOptions"
+                                                               [colors]="loadChartColors" [legend]="loadChartLegend" [chartType]="loadChartType"
+                                                               (click)="loadClickData()">
                                                        </canvas>
                                                </mat-card-content>
                                        </mat-card>
                                </mat-grid-tile>
                        </mat-grid-list>
                </mat-tab>
+               <mat-tab label="AC xApp">
+                       <mat-grid-list cols="3" rowHeight="3:2">
+                               <mat-grid-tile>
+                                       <mat-card>
+                                               <iframe [src]="metricsUrlAc"></iframe>
+                                       </mat-card>
+                               </mat-grid-tile>
+                       </mat-grid-list>
+               </mat-tab>
        </mat-tab-group>
 
 </div>
 
-<rd-app-config-event></rd-app-config-event>
+<rd-app-config-event></rd-app-config-event>
\ No newline at end of file