Browse Source

feat(ui): enforce encapsulation

pull/7325/head
KenTandrian 2 days ago
parent
commit
a3e8d9fd35
  1. 7
      libs/ui/src/lib/treemap-chart/treemap-chart.component.ts

7
libs/ui/src/lib/treemap-chart/treemap-chart.component.ts

@ -61,10 +61,11 @@ export class GfTreemapChartComponent
@Output() treemapChartClicked = new EventEmitter<AssetProfileIdentifier>(); @Output() treemapChartClicked = new EventEmitter<AssetProfileIdentifier>();
@ViewChild('chartCanvas') chartCanvas: ElementRef<HTMLCanvasElement>; @ViewChild('chartCanvas') private chartCanvas: ElementRef<HTMLCanvasElement>;
public chart: Chart<'treemap'>; protected isLoading = true;
public isLoading = true;
private chart: Chart<'treemap'>;
public constructor() { public constructor() {
Chart.register(LinearScale, Tooltip, TreemapController, TreemapElement); Chart.register(LinearScale, Tooltip, TreemapController, TreemapElement);

Loading…
Cancel
Save