Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
PowerPanel-Frontend/src/app/visualize-one/visualize-one.component.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
56 lines (55 sloc)
2.15 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container "> | |
<div class="row"> | |
<div class="col-md-12 mx-auto mt-4"> | |
<h4 class="text-center mb-3">Visualization for {{genName$}}</h4> | |
<h5 class="text-center" *ngIf="!dataSig$">Data Type: {{dataType$}}</h5> | |
<p class="text-center" *ngIf="dataSig$">{{laymanDataVal$}} Graph</p> | |
<canvas id="canvas">{{chart}}</canvas> | |
<p id="graphInfo" class="text-left"> | |
Dates: {{startTime$}} - {{endTime$}}<br> | |
Units: {{unit$}}<br> | |
Function: {{function$}}<br> | |
</p> | |
<div class="text-center"> | |
<a class="btn btn-primary" style="color:white" routerLink="/statistics">Return to Statistics</a> | |
</div> | |
<br> | |
<form id="visToolbar"> | |
<div class="text-center mb3" style="background-color: black;"> | |
<br> | |
<!-- <br><br> --> | |
<select id="func_select" name="functionSelect"> | |
<option value="" disabled selected>Select Function</option> | |
<option value="sum">Summation</option> | |
<option value="min">Minimum</option> | |
<option value="avg">Average</option> | |
<option value="max">Maximum</option> | |
<option value="count">Count</option> | |
<option value="dev">Deviation</option> | |
</select> | |
<br> | |
<div *ngIf="dataSig$"> | |
<select id="data_select" name="dataSelect"> | |
<option value="" disabled selected>Select Data</option> | |
<option *ngFor="let names of dataNames$" value="{{names}}">{{names}}</option> | |
</select> | |
<br><br> | |
</div> | |
<form style="color:white" action="/action_page.php"> | |
Start Time: | |
<input #start_time type="date" name="exampleStartTime"> | |
<br><br> | |
End Time: | |
<input #end_time type="date" name="exampleEndTime"> | |
</form> | |
<br> | |
<h4 class="text-center mb3" style="color:red" *ngIf="signal$">Invalid Entry<br></h4> | |
<a class="btn btn-primary" style="color:white" (click)="resetAndRemakeChart()">Visualize</a> | |
<br> | |
<br> | |
</div> | |
<br><br> | |
</form> | |
</div> | |
</div> | |
</div> |