diff --git a/libs/ui/src/lib/treemap-chart/treemap-chart.component.ts b/libs/ui/src/lib/treemap-chart/treemap-chart.component.ts index 5bccf9272..c1c05e006 100644 --- a/libs/ui/src/lib/treemap-chart/treemap-chart.component.ts +++ b/libs/ui/src/lib/treemap-chart/treemap-chart.component.ts @@ -61,10 +61,11 @@ export class GfTreemapChartComponent @Output() treemapChartClicked = new EventEmitter(); - @ViewChild('chartCanvas') chartCanvas: ElementRef; + @ViewChild('chartCanvas') private chartCanvas: ElementRef; - public chart: Chart<'treemap'>; - public isLoading = true; + protected isLoading = true; + + private chart: Chart<'treemap'>; public constructor() { Chart.register(LinearScale, Tooltip, TreemapController, TreemapElement);