Adding a button to invert the graph globally.

This commit is contained in:
softsimon
2020-11-16 19:27:06 +07:00
parent bff1e1b97b
commit c2982c0b46
5 changed files with 22 additions and 4 deletions

View File

@@ -40,6 +40,7 @@
<input ngbButton type="radio" [value]="'1y'" [routerLink]="['/graphs' | relativeUrl]" fragment="1y"> 1Y
</label>
</div>
<button (click)="invertGraph()" class="btn btn-primary btn-sm ml-2 d-none d-md-inline"><fa-icon [icon]="['fas', 'exchange-alt']" [rotate]="90" [fixedWidth]="true" title="Search"></fa-icon></button>
</form>
</div>
<div class="card-body">