diff --git a/src/app/Dashboard/Charts/donutchart.component.html b/src/app/Dashboard/Charts/piechart.component.html similarity index 100% rename from src/app/Dashboard/Charts/donutchart.component.html rename to src/app/Dashboard/Charts/piechart.component.html diff --git a/src/app/Dashboard/Charts/donutchart.component.ts b/src/app/Dashboard/Charts/piechart.component.ts similarity index 80% rename from src/app/Dashboard/Charts/donutchart.component.ts rename to src/app/Dashboard/Charts/piechart.component.ts index 63c5397..314ddcb 100644 --- a/src/app/Dashboard/Charts/donutchart.component.ts +++ b/src/app/Dashboard/Charts/piechart.component.ts @@ -7,10 +7,10 @@ declare var google: any; @Component({ - selector: 'donut-chart', - templateUrl: './donutchart.component.html' + selector: 'pie-chart', + templateUrl: './piechart.component.html' }) -export class DonutChartComponent implements OnInit { +export class PieChartComponent implements OnInit { @Input() data: any[]; @Input() config: PieChartConfig; diff --git a/src/app/Dashboard/dashboard.component.html b/src/app/Dashboard/dashboard.component.html index b8a658d..4a8edcf 100644 --- a/src/app/Dashboard/dashboard.component.html +++ b/src/app/Dashboard/dashboard.component.html @@ -4,8 +4,8 @@