UNPKG

@rfprodz/client-d3-charts

Version:

Angular chart components based on D3JS (https://d3js.org).

15 lines (14 loc) 587 B
import type { ElementRef } from '@angular/core'; import type { IPieChartDataNode, IPieChartOptions } from '../interfaces/pie-chart.interface'; /** * The pie chart default configuration. */ export declare const defaultPieChartConfig: IPieChartOptions; /** * Draws the pie chart. * @param container the chart container * @param data the chart data * @param options the chart options * @returns the chart configuration */ export declare const drawPieChart: (container: ElementRef<HTMLDivElement>, data: IPieChartDataNode[], options?: Partial<IPieChartOptions>) => IPieChartOptions;