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.

49 lines (48 loc) 2.26 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 } from '@angular/common'; import { AfterViewInit, ElementRef, EventEmitter, OnChanges } from '@angular/core'; import { AswCurrencyPipe, ChartLegendTypeEnum, CurrencyCodeEnum, GridOptionsEnum, LegendLayoutEnum, LegendPositionEnum } from '@asoftwareworld/charts/core'; import { Options } from 'highcharts'; import { AswChartTypeEnum } from './enum/chart-type.enum'; import * as i0 from "@angular/core"; export declare class AswGenericChart implements OnChanges, AfterViewInit { private currencyPipe; private aswCurrencyPipe; private cloneConfiguration; deviceSize: GridOptionsEnum; private viewInitialized; chartType: AswChartTypeEnum; config: Options; isLegendSort: boolean; isLegendDisplay: boolean; currencyCode: CurrencyCodeEnum; legendPosition: LegendPositionEnum; legendType: ChartLegendTypeEnum; legendWidthPx: number; legendLayout: LegendLayoutEnum; chartPointClick: EventEmitter<any>; genericChart: ElementRef; constructor(currencyPipe: CurrencyPipe, aswCurrencyPipe: AswCurrencyPipe); ngOnChanges(): void; ngAfterViewInit(): void; initializeChart(): void; onResize(): void; private removeChartCredit; private setChartTooltip; private clickOnLinePoint; private setChartSeriesOptions; private sortSeriesData; private handleNegativeSeriesData; private setChartLegendOption; private setLegendAlignment; private setLegendVerticalAlignment; private setChartLegendWithHeader; static ɵfac: i0.ɵɵFactoryDeclaration<AswGenericChart, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AswGenericChart, "asw-generic-chart", never, { "chartType": "chartType"; "config": "config"; "isLegendSort": "isLegendSort"; "isLegendDisplay": "isLegendDisplay"; "currencyCode": "currencyCode"; "legendPosition": "legendPosition"; "legendType": "legendType"; "legendWidthPx": "legendWidthPx"; "legendLayout": "legendLayout"; }, { "chartPointClick": "chartPointClick"; }, never, never>; }