Question Progress Bar Snippet
- 25 Sep 2024
- 1 Minute to read
- Print
- PDF
Question Progress Bar Snippet
- Updated on 25 Sep 2024
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Questions Progress Bar Snippet
- Find these comments in your container <! -- Question Progress Bar Snippet - -> in your container at multiple places this comment is present so add below snippet there. Don't remove the comments while pasting the snippet
- In below snippet you have to add dataset fields here .
- Add RESPONSE_Score-->Go to the dataset in advance editor press Ctrl+F search RESPONSE_Score so you get multiple fields so add that fields sequentially where you added below snippet in your container one by one here Add RESPONSE_Score
- Add Question_Sector_Average-->Go to the dataset in advance editor press Ctrl+F search Question_Sector_Average so you get multiple fields so add that fields sequentially where you added below snippet in your container one by one here Add Question_Sector_Average
- Add Question_Regional_Avereage-->Go to the dataset in advance editor press Ctrl+F search Question_Regional_Avereage so you get multiple fields so add that fields sequentially where you added below snippet in your container one by one here Add Question_Regional_Avereage
- Add Question_Average-->Go to the dataset in advance editor press Ctrl+F search Question_Average so you get multiple fields so add that fields sequentially where you added below snippet in your container one by one here Add Question_Average
- Pillar_Name_out_of-->Go to the dataset in advance editor press Ctrl+F search out_of so you get fields so add that fields where you added below snippet in your container herePillar_Name_out_of
Snippet
<ng-container *ngIf="dashboard.isdashboarddataLoaded"><progress-scores
[progressbarColor]="'gcf-blue'" [firsttDiv]="'gcf-blue'"
[progressBarDetails]="[{name:'Your Score',score: 'Add RESPONSE_Score', divisibleValue:'Pillar_Name_out_of'},{name:'Sector Average',score: 'Add Question_Sector_Average', divisibleValue:'Pillar_Name_out_of'},{name:'Regional Average',score: 'Add Question_Regional_Avereage', divisibleValue:'Pillar_Name_out_of'},{name:'Average all companies',score: 'Add Question_Average', divisibleValue:'Pillar_Name_out_of'}]"></progress-scores></ng-container>
Was this article helpful?