UNPKG

@carbon/charts

Version:
14 lines (13 loc) 542 B
import { PieChart } from './pie'; import { ChartConfig } from '../interfaces/model'; import { PieChartOptions } from '../interfaces/charts'; import { Component } from '../components/component'; export declare class DonutChart extends PieChart { constructor(holder: HTMLDivElement, chartConfigs: ChartConfig<PieChartOptions>); /** * Retrieves the components to be rendered inside the graph frame. * * @returns {Component[]} An array of components to be rendered. */ getComponents(): Component[]; }