factor-year-graph.component.html 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <h2>Detailed overview of individual regions</h2>
  2. <p>An aggregated attractiveness index is composed of six factors: anthropic, cultural, economic, institutional, natural
  3. and social. Due to the incompleteness of data provided by different regions, we only present four of them below.</p>
  4. <ng-container *ngFor="let region of sdmDihService.regions; last as isLast">
  5. <div *ngIf="sdmDihService.yearsLoaded; else loading">
  6. <!--select
  7. class="form-select form-select-lg mb-3"
  8. aria-label=".form-select-lg example"
  9. [(ngModel)]="selectedYear"
  10. (ngModelChange)="redrawGraphs()"
  11. >
  12. <option [ngValue]="year" *ngFor="let year of years">{{ year }}</option>
  13. </select-->
  14. <div class="d-flex">
  15. <div class="discs-caption">
  16. <h4>Rural attractiveness index</h4>
  17. <p>
  18. of region <strong>{{region}}</strong> in {{yearGraphService.selectedYear}}
  19. </p>
  20. <disc-legend [region]="region"></disc-legend>
  21. </div>
  22. <div *ngFor="let factor of sdmDihService.factors">
  23. <factor-year-disc [region]="region" [factor]="factor" [show]="'factor'"></factor-year-disc>
  24. </div>
  25. </div>
  26. <hr *ngIf="!isLast">
  27. </div>
  28. <ng-template #loading> Loading data... </ng-template>
  29. </ng-container>