ng2-charts
Advanced tools
Comparing version 3.0.11 to 3.1.0
import { ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; | ||
import { Chart, ChartConfiguration, ChartEvent, ChartType, DefaultDataPoint } from 'chart.js'; | ||
import { Chart, ChartComponentLike, ChartConfiguration, ChartEvent, ChartType, DefaultDataPoint } from 'chart.js'; | ||
import { ThemeService } from './theme.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class BaseChartDirective<TType extends ChartType = ChartType, TData = DefaultDataPoint<TType>, TLabel = unknown> implements OnDestroy, OnChanges { | ||
private element; | ||
private zone; | ||
@@ -12,4 +11,4 @@ private themeService; | ||
data?: ChartConfiguration<TType, TData, TLabel>['data']; | ||
options?: ChartConfiguration<TType, TData, TLabel>['options']; | ||
plugins?: ChartConfiguration<TType, TData, TLabel>['plugins']; | ||
options: ChartConfiguration<TType, TData, TLabel>['options']; | ||
plugins: ChartComponentLike[]; | ||
labels?: ChartConfiguration<TType, TData, TLabel>['data']['labels']; | ||
@@ -42,3 +41,3 @@ datasets?: ChartConfiguration<TType, TData, TLabel>['data']['datasets']; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<BaseChartDirective<any, any, any>, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseChartDirective<any, any, any>, "canvas[baseChart]", ["base-chart"], { "type": "type"; "legend": "legend"; "data": "data"; "options": "options"; "plugins": "plugins"; "labels": "labels"; "datasets": "datasets"; }, { "chartClick": "chartClick"; "chartHover": "chartHover"; }, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseChartDirective<any, any, any>, "canvas[baseChart]", ["base-chart"], { "type": "type"; "legend": "legend"; "data": "data"; "options": "options"; "plugins": "plugins"; "labels": "labels"; "datasets": "datasets"; }, { "chartClick": "chartClick"; "chartHover": "chartHover"; }, never, never, false>; | ||
} |
{ | ||
"name": "ng2-charts", | ||
"version": "3.0.11", | ||
"version": "3.1.0", | ||
"publishConfig": { | ||
@@ -42,3 +42,3 @@ "registry": "https://registry.npmjs.org/" | ||
"fesm2015": "fesm2015/ng2-charts.mjs", | ||
"typings": "ng2-charts.d.ts", | ||
"typings": "index.d.ts", | ||
"exports": { | ||
@@ -49,3 +49,3 @@ "./package.json": { | ||
".": { | ||
"types": "./ng2-charts.d.ts", | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/ng2-charts.mjs", | ||
@@ -52,0 +52,0 @@ "es2020": "./fesm2020/ng2-charts.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
144457
56
1169