blob: fd7927d4de36fcb9f1521edb3414a33d226dad5a [file]
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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. See the License for the
specific language governing permissions and limitations
under the License.
-->
<div id="dashboard" class="bs-component">
<div class="container-fluid">
<div class="row col-lg-12" style="margin-top: 15px;">
<div class="form-group">
<span style="padding-left:30px;">
<label>Measure: </label>
<select class="form-control" (change)="changeMeasure()" [(ngModel)]="selectedMeasureIndex"
id="measureSelector">
<option value="0"> -- All -- </option>
<option *ngFor="let key of measureOptions;let n = index" value="{{n+1}}">{{key}}</option>
</select>
</span>
</div>
</div>
<!-- <div class="col-sm-5 chartItem" *ngFor="let outerItems of finalData;let parent=index" style="margin-bottom:30px;margin-right:15px;"> -->
<div *ngFor="let outerItems of finalData;let parent=index">
<!-- <div class="row">
<div style="text-align: center;" >
<h4>{{outerItems.name}}</h4>
</div>
</div> -->
<!-- <div class="row"> -->
<div class="col-sm-6 col-md-4 col-xs-12 col-lg-3 chartItem" *ngFor="let items of outerItems.metrics;let i=index;"
style="margin-bottom:30px;">
<!-- <div *ngFor="let items of outerItems.metrics;let i=index;"> -->
<div class="row-fluid" style="cursor: pointer;">
<div id="thumbnail{{parent}}-{{i}}" class="thumb-chart" style="border: 2px solid;" echarts
[options]="getOption(parent,i)" (click)="goTo(parent,i)"></div>
</div>
</div>
<!-- </div> -->
</div>
</div>
</div>