ng2-charts
Advanced tools
Comparing version 4.0.2 to 4.1.0
@@ -40,3 +40,3 @@ import { ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; | ||
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, never, false>; | ||
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, never>; | ||
} |
import { Color } from 'chart.js'; | ||
export declare const builtInDefaults: { | ||
plugins: { | ||
colors: { | ||
enabled: boolean; | ||
}; | ||
}; | ||
datasets: { | ||
@@ -4,0 +9,0 @@ line: { |
{ | ||
"name": "ng2-charts", | ||
"version": "4.0.2", | ||
"version": "4.1.0", | ||
"publishConfig": { | ||
@@ -11,3 +11,3 @@ "registry": "https://registry.npmjs.org/" | ||
"@angular/cdk": ">=14.0.0", | ||
"chart.js": "^3.4.0", | ||
"chart.js": "^3.4.0 || ^4.0.0", | ||
"rxjs": "^6.5.3 || ^7.4.0" | ||
@@ -14,0 +14,0 @@ }, |
@@ -18,2 +18,3 @@ "use strict"; | ||
this.subs = []; | ||
this.themeOverrides = {}; | ||
this.ctx = element.nativeElement.getContext('2d'); | ||
@@ -20,0 +21,0 @@ this.subs.push(this.themeService.colorschemesOptions |
@@ -6,2 +6,3 @@ "use strict"; | ||
exports.builtInDefaults = { | ||
plugins: { colors: { enabled: false } }, | ||
datasets: { | ||
@@ -8,0 +9,0 @@ line: { |
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
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
200248
112
1983