diff --git a/ng6-seed/src/app/dashboard/dashboard.component.html b/ng6-seed/src/app/dashboard/dashboard.component.html index d02b0aefb..bd1a9f504 100644 --- a/ng6-seed/src/app/dashboard/dashboard.component.html +++ b/ng6-seed/src/app/dashboard/dashboard.component.html @@ -1,164 +1,63 @@ -
Full PD -{{item.fullpd}} / Smart PD -{{item.smartpd}}
+Full -{{item.fullpd}} / Smart -{{item.smartpd}}
Full PD -{{item.fullpd}} / Smart PD -{{item.smartpd}}
+Full -{{item.fullpd}} / Smart -{{item.smartpd}}
{{item.applicantid}}
{{item.lendername}} - {{item.status}}
diff --git a/ng6-seed/src/app/dashboard/dashboard.component.ts b/ng6-seed/src/app/dashboard/dashboard.component.ts index d22f38292..c9fcd8477 100644 --- a/ng6-seed/src/app/dashboard/dashboard.component.ts +++ b/ng6-seed/src/app/dashboard/dashboard.component.ts @@ -1,4 +1,5 @@ import { Component } from '@angular/core'; + @Component({ selector: 'app-dashboard', @@ -6,9 +7,81 @@ import { Component } from '@angular/core'; styleUrls: ['./dashboard.component.scss'] }) export class DashboardComponent { - constructor() { + //public single: any[]; + //public multi: any[]; + public showXAxis = true; + public showYAxis = true; + public gradient = false; + public showLegend = false; + public showXAxisLabel = true; + public xAxisLabel = 'Type'; + public showYAxisLabel = true; + public yAxisLabel = 'Application'; + public colorScheme = { + domain: ['#673ab7', '#f44336', '#009688 ', '#2196f3', '#ffd740 ', '#eb35bb '] + }; + constructor() { + } + multi: Object[] = [ + { + name: 'Full', + series: [ + { + name: 'Triggered', + value: 50 + }, + { + name: 'Allocated', + value: 29 + }, + { + name: 'Schudled', + value: 45 + }, + { + name: 'InProgress', + value: 67 + }, + { + name: 'Completed', + value: 34 + },{ + name: 'QC Completed', + value: 22 + } + ] + }, + { + name: 'Smart', + series: [ + { + name: 'Triggred', + value: 60 + }, + { + name: 'Allocated', + value: 33 + }, + { + name: 'Schudled', + value: 76 + }, + { + name: 'InProgress', + value: 34 + },{ + name: 'Completed', + value: 56 + },{ + name: 'QC Completed', + value: 45 + } + ] + }, + ]; + //Lender wise PD Triggered lenderpd: Object[] = [{ lendername:'ICICI', diff --git a/ng6-seed/src/app/settings/masters/component/branch/branch-list/branch-list.component.html b/ng6-seed/src/app/settings/masters/component/branch/branch-list/branch-list.component.html index b548f6251..fcdbc2c68 100644 --- a/ng6-seed/src/app/settings/masters/component/branch/branch-list/branch-list.component.html +++ b/ng6-seed/src/app/settings/masters/component/branch/branch-list/branch-list.component.html @@ -26,17 +26,17 @@