UNPKG

@asoftwareworld/charts

Version:

`ASW Charts` helps you with the Highcharts library comes with all the tools you need to create reliable and secure data visualizations and Built on Angular.

43 lines (42 loc) 2.01 kB
import { CurrencyPipe } from '@angular/common'; import { AfterViewInit, ElementRef, EventEmitter, OnChanges } from '@angular/core'; import { ChartLegendTypeEnum, CurrencyCodeEnum, GridOptionsEnum, LegendLayoutEnum, LegendPositionEnum } from '@asoftwareworld/charts/core'; import { Options } from 'highcharts'; import * as i0 from "@angular/core"; export declare class AswSankeyChart implements OnChanges, AfterViewInit { private currencyPipe; private cloneConfiguration; deviceSize: GridOptionsEnum; private viewInitialized; config: Options; isLegendSort: boolean; icon: string; label: string | undefined; amount: number | null | undefined; target: string; currencyCode: CurrencyCodeEnum; legendPosition: LegendPositionEnum; legendType: ChartLegendTypeEnum; legendWidthPx: number; legendLayout: LegendLayoutEnum; sankeyClick: EventEmitter<any>; sankeyChart: ElementRef; constructor(currencyPipe: CurrencyPipe); ngOnChanges(): void; ngAfterViewInit(): void; initializeChart(): void; onResize(): void; private removeChartCredit; private setSankeyChartTooltip; private clickOnSankey; private setDonutChartSeriesOptions; private sortSeriesData; private handleNegativeSeriesData; private setFontSize; private setSankeyChartLegendOption; private setLegendAlignment; private setLegendVerticalAlignment; private setLineChartLegendWithHeader; static ɵfac: i0.ɵɵFactoryDeclaration<AswSankeyChart, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AswSankeyChart, "asw-sankey-chart", never, { "config": "config"; "isLegendSort": "isLegendSort"; "icon": "icon"; "label": "label"; "amount": "amount"; "target": "target"; "currencyCode": "currencyCode"; "legendPosition": "legendPosition"; "legendType": "legendType"; "legendWidthPx": "legendWidthPx"; "legendLayout": "legendLayout"; }, { "sankeyClick": "sankeyClick"; }, never, never>; }