UNPKG

@carbon/charts

Version:
22 lines (21 loc) 711 B
import { ChartModel } from './model'; /** * The tree chart model layer */ export declare class TreeChartModel extends ChartModel { constructor(services: any); /** * Retrieves and formats tabular data from the display data. * * @returns {any[]} An object containing the headers and cells of the tabular data. */ getTabularDataArray(): any[]; /** * Determine the child parent relationship in nested data * @private * @param {any} datum - The datum node to process. * @param {any[]} [result=[]] - An array to accumulate the resulting data. * @returns {any[]} The accumulated result array. */ private getChildrenDatums; }