-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
948a7cd
commit ea20f75
Showing
6 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
@if (loaded()) { | ||
<h4 class="centre">Strike rate</h4> | ||
<h4 class="centre">Bowling strike rate</h4> | ||
|
||
<canvas class="chart" baseChart [type]="'line'" [legend]="true" [datasets]="bowlingStrikeData.datasets" | ||
[labels]="bowlingStrikeData.labels" [options]="lineChartOptions" [plugins]="chartPlugins"> | ||
</canvas> | ||
<section> | ||
|
||
<section class="chart-buttons centre"> | ||
<button mat-stroked-button matTooltip="Focus the scale to a new minimum of 53. This hides the first 13 'outlier' innings to show the trend in the remaining 343 | ||
innings more clearly." [matTooltipHideDelay]="2000" (click)="focusAxis()">{{btnText()}}</button> | ||
</section> | ||
|
||
|
||
<!-- <section> | ||
<p class="alert alert-info"> | ||
<button mat-flat-button (click)="focusAxis()">{{btnText()}}</button> | ||
Focus the scale to a new minimum of 53.<sup>[1]</sup> | ||
</p> | ||
<p class="footnote"><sup>1</sup> This hides the first 13 'outlier' innings to show the trend in the remaining 343 | ||
innings more | ||
clearly.</p> | ||
</section> | ||
</section> --> | ||
} |
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
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
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
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