UNPKG

@rfprodz/client-d3-charts

Version:

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

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