Question Progress Bar Snippet
  • 25 Sep 2024
  • 1 Minute to read
  • PDF

Question Progress Bar Snippet

  • PDF

Article summary

Questions Progress Bar Snippet
image.png

  • 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 .
  1. 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
  2. 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
  3. 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
  4. 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
  5. 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?

ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence