Skip to content

Commit 3bf6181

Browse files
committed
fix: #1354
1 parent 29705d1 commit 3bf6181

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

projects/ng2-charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ng2-charts",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"publishConfig": {
55
"registry": "https://registry.npmjs.org/"
66
},

projects/ng2-charts/src/lib/ng-charts.module.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
CategoryScale,
99
Chart,
1010
ChartComponentLike,
11-
ChartConfiguration, Defaults,
11+
Defaults,
1212
defaults,
1313
DoughnutController,
1414
Filler,
@@ -41,6 +41,12 @@ Chart.register(
4141
ScatterController,
4242
TimeSeriesScale);
4343

44+
@Injectable({ providedIn: 'root' })
45+
export class NgChartsConfiguration {
46+
public plugins?: ChartComponentLike[];
47+
public defaults?: Partial<Defaults>;
48+
}
49+
4450
@NgModule({
4551
imports: [],
4652
declarations: [ BaseChartDirective ],
@@ -66,9 +72,3 @@ export class NgChartsModule {
6672
};
6773
}
6874
}
69-
70-
@Injectable({ providedIn: 'root' })
71-
export class NgChartsConfiguration {
72-
public plugins?: ChartComponentLike[];
73-
public defaults?: Partial<Defaults>;
74-
}

0 commit comments

Comments
 (0)