Created
November 17, 2022 19:35
-
-
Save kagklis/1140f80f9ca885d1cfb92d901e437269 to your computer and use it in GitHub Desktop.
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> | |
<input | |
type="range" | |
min="500" max="50000" step="500" | |
[ngModel]="dataLength" | |
(ngModelChange)="modelChange($event)" | |
/> | |
<div> | |
<div | |
*ngIf="!chart" | |
#chartCanvas | |
id="chartCanvas" | |
[ngClass]="{ hidden: isLoading }" | |
></div> | |
<canvas id="myChart" [ngClass]="{ hidden: isLoading }"> {{ chart }} </canvas> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment