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