UNPKG

@carbon/charts

Version:
16 lines (15 loc) 635 B
import { Chart } from '../chart'; import { TreemapChartModel } from '../model/treemap'; import { ChartConfig } from '../interfaces/model'; import { TreemapChartOptions } from '../interfaces/charts'; import { Component } from '../components/component'; export declare class TreemapChart extends Chart { model: TreemapChartModel; constructor(holder: HTMLDivElement, chartConfigs: ChartConfig<TreemapChartOptions>); /** * Retrieves the components to be rendered inside the graph frame. * * @returns {Component[]} An array of components to be rendered. */ getComponents(): Component[]; }