@carbon/charts
Version:
Carbon Charts component library
16 lines (15 loc) • 635 B
TypeScript
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[];
}