40 lines
1.4 KiB
TypeScript
40 lines
1.4 KiB
TypeScript
|
import { Component, OnInit } from '@angular/core';
|
||
|
import {
|
||
|
gradientStartColor,
|
||
|
otherResearchProductsColor,
|
||
|
otherResearchProductsPalette, otherIndicatorsPalette, goldGreenIndicatorsPalette
|
||
|
} from '../../../../chart-palettes';
|
||
|
import {environment} from '../../../../../environments/environment';
|
||
|
import {CountryTableData} from '../../../../domain/overview-map-data';
|
||
|
import {DomSanitizer, SafeResourceUrl} from '@angular/platform-browser';
|
||
|
import {TreemapHighchartsData} from '../../../../domain/treemap-highcharts-data';
|
||
|
import {DataHandlerService} from '../../../../services/data-handler.service';
|
||
|
import {DataService} from '../../../../services/data.service';
|
||
|
import {ActivatedRoute} from '@angular/router';
|
||
|
|
||
|
@Component({
|
||
|
selector: 'app-country-collaboration-orp-indicators',
|
||
|
templateUrl: './country-collaboration-orp-indicators.component.html',
|
||
|
})
|
||
|
|
||
|
export class CountryCollaborationORPIndicatorsComponent implements OnInit {
|
||
|
|
||
|
private chartsURL = environment.API_ENDPOINT + 'chart?json=';
|
||
|
private profileName = environment.profileName;
|
||
|
|
||
|
indicator: string;
|
||
|
|
||
|
constructor(private dataService: DataService,
|
||
|
private dataHandlerService: DataHandlerService,
|
||
|
private route: ActivatedRoute,
|
||
|
private sanitizer: DomSanitizer) { }
|
||
|
|
||
|
ngOnInit(): void {
|
||
|
|
||
|
this.route.params.subscribe(params => {
|
||
|
|
||
|
this.indicator = params['indicator'];
|
||
|
});
|
||
|
}
|
||
|
}
|