|
|
@ -335,6 +335,7 @@ export class GfPortfolioProportionChartComponent |
|
|
labels |
|
|
labels |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
if (this.chartCanvas()) { |
|
|
if (this.chart) { |
|
|
if (this.chart) { |
|
|
this.chart.data = data; |
|
|
this.chart.data = data; |
|
|
this.chart.options.plugins ??= {}; |
|
|
this.chart.options.plugins ??= {}; |
|
|
@ -404,6 +405,7 @@ export class GfPortfolioProportionChartComponent |
|
|
type: 'doughnut' |
|
|
type: 'doughnut' |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
this.isLoading = false; |
|
|
this.isLoading = false; |
|
|
} |
|
|
} |
|
|
|