UNPKG

@rfprodz/client-d3-charts

Version:

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

15 lines (14 loc) 577 B
import type { ElementRef } from '@angular/core'; import type { IBarChartOptions, TBarChartData } from '../interfaces/bar-chart.interface'; /** * The bar chart default configuration. */ export declare const defaultBarChartConfig: IBarChartOptions; /** * Draws the bar chart. * @param container the chart container * @param data the chart data * @param options the chart options * @returns the chart configuration */ export declare const drawBarChart: (container: ElementRef<HTMLDivElement>, data: TBarChartData, options?: Partial<IBarChartOptions>) => IBarChartOptions;