icons = Icons;
color: string;
- clientStatsConfig = {
- colors: [
- {
- backgroundColor: [
- this.cssHelper.propertyValue('chart-color-cyan'),
- this.cssHelper.propertyValue('chart-color-purple')
- ]
- }
- ]
- };
-
- rawCapacityChartConfig = {
- colors: [
- {
- backgroundColor: [
- this.cssHelper.propertyValue('chart-color-blue'),
- this.cssHelper.propertyValue('chart-color-gray')
- ]
- }
- ]
- };
+ clientStatsConfig: any = {};
+ rawCapacityChartConfig: any = {};
pgStatusChartConfig = {
options: {
}
ngOnInit() {
+ this.clientStatsConfig = {
+ colors: [
+ {
+ backgroundColor: [
+ this.cssHelper.propertyValue('chart-color-cyan'),
+ this.cssHelper.propertyValue('chart-color-purple')
+ ]
+ }
+ ]
+ };
+
+ this.rawCapacityChartConfig = {
+ colors: [
+ {
+ backgroundColor: [
+ this.cssHelper.propertyValue('chart-color-blue'),
+ this.cssHelper.propertyValue('chart-color-gray')
+ ]
+ }
+ ]
+ };
this.interval = this.refreshIntervalService.intervalData$.subscribe(() => {
this.getHealth();
});