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.

57 lines (56 loc) 2.39 kB
/** * @license * Copyright ASW (A Software World) All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file */ import { CurrencyPipe, PercentPipe } from '@angular/common'; import { AfterViewInit, ElementRef, EventEmitter, OnChanges } from '@angular/core'; import { CurrencyCodeEnum, GridOptionsEnum } from '@asoftwareworld/charts/core'; import { Options } from 'highcharts'; import * as i0 from "@angular/core"; export declare class AswSemiCircleDonut implements OnChanges, AfterViewInit { private percentPipe; private currencyPipe; private cloneConfiguration; deviceSize: GridOptionsEnum; private viewInitialized; config: Options; isLegendSort: boolean; isMute: boolean; isLegendDisplay: boolean; icon: string; label: string | undefined; amount: number | null | undefined; target: string; currencyCode: CurrencyCodeEnum; legendWidthPx: number; donutSliceClick: EventEmitter<any>; semiCircleDonutChart: ElementRef; chartId: ElementRef; constructor(percentPipe: PercentPipe, currencyPipe: CurrencyPipe); ngOnChanges(): void; ngAfterViewInit(): void; initializeChart(): void; private removeChartCredit; private setSemiDonutChartTooltip; private semiDonutChartSliceClick; private setSemiDonutChartShape; private setDonutChartSeriesOptions; private sortSeriesData; private handleNegativeSeriesData; private setDonutChartLegendOption; private setFontSize; private setLegendAlignment; private setLegendVerticalAlignment; private setDonutChartLegendWithHeader; private findDeviceSize; private setDonutChartInnerText; private setInnerTextLabel; private setInnerTextIcon; private setInnerTextValue; private setInnerTextTarget; static ɵfac: i0.ɵɵFactoryDeclaration<AswSemiCircleDonut, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AswSemiCircleDonut, "asw-semi-circle-donut", never, { "config": "config"; "isLegendSort": "isLegendSort"; "isMute": "isMute"; "isLegendDisplay": "isLegendDisplay"; "icon": "icon"; "label": "label"; "amount": "amount"; "target": "target"; "currencyCode": "currencyCode"; "legendWidthPx": "legendWidthPx"; }, { "donutSliceClick": "donutSliceClick"; }, never, never>; }