@@ -19,9 +19,10 @@ export class SolicitationResultComponent {
1919 public numCompliant = 0 ;
2020 public numNonCompliant = 0 ;
2121 public numNotApplicable = 0 ;
22+ public numCannotEvaluate = 0 ;
2223
2324 public hasValue = false ;
24- public pieChartLabels : string [ ] = [ 'Compliant' , 'Not Compliant' , 'Not Applicable' ] ;
25+ public pieChartLabels : string [ ] = [ 'Compliant' , 'Not Compliant' , 'Not Applicable' , 'Cannot Evaluate' ] ;
2526 public pieChartData : any ;
2627
2728 public pieChartType = 'pie' ;
@@ -74,14 +75,16 @@ export class SolicitationResultComponent {
7475 this . numCompliant = this . SolicitationResultChart . compliance ;
7576 this . numNonCompliant = this . SolicitationResultChart . uncompliance ;
7677 this . numNotApplicable = this . SolicitationResultChart . notApplicable ;
78+ this . numCannotEvaluate = this . SolicitationResultChart . cannotEvaluate ;
79+
7780
7881 this . pieChartData = {
7982 labels : this . pieChartLabels ,
8083
8184 datasets : [ {
82- data : [ this . numCompliant , this . numNonCompliant , this . numNotApplicable ] ,
83- backgroundColor : [ '#2C81C0' , '#ff0000' , '#e8e8e8' , ] ,
84- borderColor : [ '#2C81C0' , '#ff0000' , '#e8e8e8' , ]
85+ data : [ this . numCompliant , this . numNonCompliant , this . numNotApplicable , this . numCannotEvaluate ] ,
86+ backgroundColor : [ '#2C81C0' , '#ff0000' , '#e8e8e8' , '#FFB300' ] ,
87+ borderColor : [ '#2C81C0' , '#ff0000' , '#e8e8e8' , '#FFB300' ]
8588 } ]
8689 } ;
8790
0 commit comments