mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 16:00:14 +01:00
chore(package): add type definitions for jQuery and its plugins (#400)
This commit is contained in:
parent
1227ad368c
commit
02a1cdbe9e
4 changed files with 11 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ export class TrafficChart {
|
|||
}
|
||||
|
||||
private _loadDoughnutCharts() {
|
||||
let el = jQuery('.chart-area').get(0);
|
||||
let el = jQuery('.chart-area').get(0) as HTMLCanvasElement;
|
||||
new Chart(el.getContext('2d')).Doughnut(this.doughnutData, {
|
||||
segmentShowStroke: false,
|
||||
percentageInnerCutout : 64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue