File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " planet" ,
33 "license" : " AGPL-3.0" ,
4- "version" : " 0.20.71 " ,
4+ "version" : " 0.20.72 " ,
55 "myplanet" : {
6- "latest" : " v0.36.70 " ,
7- "min" : " v0.35.70 "
6+ "latest" : " v0.36.78 " ,
7+ "min" : " v0.35.78 "
88 },
99 "scripts" : {
1010 "ng" : " ng" ,
Original file line number Diff line number Diff line change 1- import type { Chart } from 'chart.js' ;
2-
31type ChartJsModule = typeof import ( 'chart.js' ) ;
42type RegisterableKey = 'ArcElement' | 'BarController' | 'BarElement' | 'CategoryScale' | 'DoughnutController'
53 | 'Legend' | 'LinearScale' | 'Title' | 'Tooltip' | 'LineController' | 'PointElement' | 'LineElement' ;
@@ -40,8 +38,6 @@ export async function loadChart(keys: RegisterableKey[] = []): Promise<ChartJsMo
4038 return module ;
4139}
4240
43- export type ChartJs = Chart ;
44-
4541export function createChartCanvas ( width = 300 , height = 400 ) : { canvas : HTMLCanvasElement ; ctx : CanvasRenderingContext2D | null } {
4642 const canvas = document . createElement ( 'canvas' ) ;
4743 canvas . width = width ;
You can’t perform that action at this time.
0 commit comments