Project

General

Profile

« Previous | Next » 

Revision 60835

Refactored to add a variable in all stats tool queries for the profile name used. Also, added a change in the color palette for the main entities

View differences:

continent-overview.component.html
467 467
                  <div class="md-card chartCard">
468 468
                    <div class="md-card-content">
469 469
                      <app-treemap-highchart *ngIf="publicationsByFunderData" [chartTitle]="'OA Publications by funder'"
470
                                             [chartData]="publicationsByFunderData" [color]="'#F181AE'"></app-treemap-highchart>
470
                                             [chartData]="publicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>
471 471
                    </div>
472 472
                  </div>
473 473
                </div>
......
476 476
                  <div class="md-card chartCard">
477 477
                    <div class="md-card-content">
478 478
                      <app-treemap-highchart *ngIf="datasetsByFunderData" [chartTitle]="'OA Datasets by funder'"
479
                                             [chartData]="datasetsByFunderData" [color]="'#BB9CE6'"></app-treemap-highchart>
479
                                             [chartData]="datasetsByFunderData" [color]="datasetColor"></app-treemap-highchart>
480 480
                    </div>
481 481
                  </div>
482 482
                </div>
......
485 485
                  <div class="md-card chartCard">
486 486
                    <div class="md-card-content">
487 487
                      <app-treemap-highchart *ngIf="softwareByFunderData" [chartTitle]="'OS Software by funder'"
488
                                             [chartData]="softwareByFunderData" [color]="'#C2155A'"></app-treemap-highchart>
488
                                             [chartData]="softwareByFunderData" [color]="softwareColor"></app-treemap-highchart>
489 489
                    </div>
490 490
                  </div>
491 491
                </div>
......
494 494
                  <div class="md-card chartCard">
495 495
                    <div class="md-card-content">
496 496
                      <app-treemap-highchart *ngIf="otherByFunderData" [chartTitle]="'OA Other research products by funder'"
497
                                             [chartData]="otherByFunderData" [color]="'#00CCCC'"></app-treemap-highchart>
497
                                             [chartData]="otherByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
498 498
                    </div>
499 499
                  </div>
500 500
                </div>
......
582 582
                          <div class="md-card chartCard">
583 583
                            <div class="md-card-content">
584 584
                              <app-treemap-highchart *ngIf="publicationsWithPIDByFunderData" [chartTitle]="'OA Publications with PID by funder'"
585
                                                     [chartData]="publicationsWithPIDByFunderData" [color]="'#F181AE'"></app-treemap-highchart>
585
                                                     [chartData]="publicationsWithPIDByFunderData" [color]="publicationColor"></app-treemap-highchart>
586 586
                            </div>
587 587
                          </div>
588 588
                        </div>
......
630 630
                          <div class="md-card chartCard">
631 631
                            <div class="md-card-content">
632 632
                              <app-treemap-highchart *ngIf="publicationsWithLicenceByFunderData" [chartTitle]="'OA Publications with licence by funder'"
633
                                                     [chartData]="publicationsWithLicenceByFunderData" [color]="'#F181AE'"></app-treemap-highchart>
633
                                                     [chartData]="publicationsWithLicenceByFunderData" [color]="publicationColor"></app-treemap-highchart>
634 634
                            </div>
635 635
                          </div>
636 636
                        </div>
......
678 678
                          <div class="md-card chartCard">
679 679
                            <div class="md-card-content">
680 680
                              <app-treemap-highchart *ngIf="goldPublicationsByFunderData" [chartTitle]="'Gold OA publications by funder'"
681
                                                     [chartData]="goldPublicationsByFunderData" [color]="'#F181AE'"></app-treemap-highchart>
681
                                                     [chartData]="goldPublicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>
682 682
                            </div>
683 683
                          </div>
684 684
                        </div>
......
726 726
                          <div class="md-card chartCard">
727 727
                            <div class="md-card-content">
728 728
                              <app-treemap-highchart *ngIf="greenPublicationsByFunderData" [chartTitle]="'Green OA publications by funder'"
729
                                                     [chartData]="greenPublicationsByFunderData" [color]="'#F181AE'"></app-treemap-highchart>
729
                                                     [chartData]="greenPublicationsByFunderData" [color]="publicationColor"></app-treemap-highchart>
730 730
                            </div>
731 731
                          </div>
732 732
                        </div>
......
850 850
                          <div class="md-card chartCard">
851 851
                            <div class="md-card-content">
852 852
                              <app-treemap-highchart *ngIf="datasetsWithPIDByFunderData" [chartTitle]="'OA Datasets with PID by funder'"
853
                                                     [chartData]="datasetsWithPIDByFunderData" [color]="'#A98BD4'"></app-treemap-highchart>
853
                                                     [chartData]="datasetsWithPIDByFunderData" [color]="datasetColor"></app-treemap-highchart>
854 854
                            </div>
855 855
                          </div>
856 856
                        </div>
......
898 898
                          <div class="md-card chartCard">
899 899
                            <div class="md-card-content">
900 900
                              <app-treemap-highchart *ngIf="datasetsWithLicenceByFunderData" [chartTitle]="'OA Datasets with licence by funder'"
901
                                                     [chartData]="datasetsWithLicenceByFunderData" [color]="'#A98BD4'"></app-treemap-highchart>
901
                                                     [chartData]="datasetsWithLicenceByFunderData" [color]="datasetColor"></app-treemap-highchart>
902 902
                            </div>
903 903
                          </div>
904 904
                        </div>
......
1007 1007
                          <div class="md-card chartCard">
1008 1008
                            <div class="md-card-content">
1009 1009
                              <app-treemap-highchart *ngIf="softwareWithPIDByFunderData" [chartTitle]="'OS Software with PID by funder'"
1010
                                                     [chartData]="softwareWithPIDByFunderData" [color]="'#C2155A'"></app-treemap-highchart>
1010
                                                     [chartData]="softwareWithPIDByFunderData" [color]="softwareColor"></app-treemap-highchart>
1011 1011
                            </div>
1012 1012
                          </div>
1013 1013
                        </div>
......
1055 1055
                          <div class="md-card chartCard">
1056 1056
                            <div class="md-card-content">
1057 1057
                              <app-treemap-highchart *ngIf="softwareWithLicenceByFunderData" [chartTitle]="'OS Software with licence by funder'"
1058
                                                     [chartData]="softwareWithLicenceByFunderData" [color]="'#C2155A'"></app-treemap-highchart>
1058
                                                     [chartData]="softwareWithLicenceByFunderData" [color]="softwareColor"></app-treemap-highchart>
1059 1059
                            </div>
1060 1060
                          </div>
1061 1061
                        </div>
......
1164 1164
                          <div class="md-card chartCard">
1165 1165
                            <div class="md-card-content">
1166 1166
                              <app-treemap-highchart *ngIf="otherWithPIDByFunderData" [chartTitle]="'OA Other research products with PID by funder'"
1167
                                                     [chartData]="otherWithPIDByFunderData" [color]="'#00CCCC'"></app-treemap-highchart>
1167
                                                     [chartData]="otherWithPIDByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
1168 1168
                            </div>
1169 1169
                          </div>
1170 1170
                        </div>
......
1212 1212
                          <div class="md-card chartCard">
1213 1213
                            <div class="md-card-content">
1214 1214
                              <app-treemap-highchart *ngIf="otherWithLicenceByFunderData" [chartTitle]="'OA Other research products with licence by funder'"
1215
                                                     [chartData]="otherWithLicenceByFunderData" [color]="'#00CCCC'"></app-treemap-highchart>
1215
                                                     [chartData]="otherWithLicenceByFunderData" [color]="otherResearchProductsColor"></app-treemap-highchart>
1216 1216
                            </div>
1217 1217
                          </div>
1218 1218
                        </div>

Also available in: Unified diff