@carbon/charts
Version:
Carbon Charts component library
16 lines (15 loc) • 617 B
TypeScript
import { Chart } from '../chart';
import { TreeChartModel } from '../model/tree';
import { ChartConfig } from '../interfaces/model';
import { TreeChartOptions } from '../interfaces/charts';
import { Component } from '../components/component';
export declare class TreeChart extends Chart {
model: TreeChartModel;
constructor(holder: HTMLDivElement, chartConfigs: ChartConfig<TreeChartOptions>);
/**
* Retrieves the components to be rendered inside the graph frame.
*
* @returns {Component[]} An array of components to be rendered.
*/
getComponents(): Component[];
}