UNPKG

@carbon/charts

Version:
16 lines (15 loc) 617 B
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[]; }