package.dist.model.circle-pack.d.ts Maven / Gradle / Ivy
import { ChartModel } from './model';
import { LegendItemType } from '../interfaces/enums';
/** The charting model layer which includes mainly the chart data and options,
* as well as some misc. information to be shared among components */
export declare class CirclePackChartModel extends ChartModel {
parentNode: boolean;
constructor(services: any);
setData(newData: any): void;
setOptions(newOptions: any): void;
getZoomOptions(options?: any): {
legend?: undefined;
} | {
legend: {
additionalItems: {
type: LegendItemType;
name: string;
}[];
};
};
setZoom(options?: any): void;
updateHierarchyLevel(depth: number): void;
getHierarchyLevel(): any;
hasParentNode(): boolean;
setDataGroups(): void;
protected setChildrenDataGroup(node: any, name: any): any;
getTabularDataArray(): any[];
/**
* Recursively determine the relationship between all the nested elements in the child
* @private
* @param {any} children - The children nodes to process.
* @param {any} parent - The parent node associated with the children.
* @param {string[][]} [result=[]] - An array to accumulate the resulting data.
* @param {number} [totalSum=0] - The running total sum of values processed.
* @returns {number} Sum.
*/
private getChildrenDatums;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy