import * as i0 from '@angular/core'; import { QueryList, OnInit, OnDestroy, OnChanges, AfterContentInit, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core'; import { LazyloadScriptService, PaletteService } from '@finastra/angular-components/core'; import * as i1 from '@angular/common'; import * as i2 from 'angular-plotly.js'; import { PlotlyComponent } from 'angular-plotly.js'; import { Observable } from 'rxjs'; declare const CHART_DEFAULT_PLOTLY_LAYOUT: { autosize: boolean; margin: { l: number; r: number; b: number; t: number; pad: number; }; }; declare const CHART_DEFAULT_PLOTLY_CONFIG: { displaylogo: boolean; responsive: boolean; }; declare enum ChartType { bar = "bar", stackedBar = "stackedBar", line = "line", scatter = "scatter", scatterLine = "scatterLine", stackedLine = "stackedLine", fullStackedLine = "fullStackedLine", spline = "spline", stackedSpline = "stackedSpline", fullStackedSpline = "fullStackedSpline", stepline = "stepline", steparea = "steparea", area = "area", stackedArea = "stackedArea", fullStackedArea = "fullStackedArea", pie = "pie", donut = "donut" } declare enum ChartOrientation { horizontal = "horizontal", vertical = "vertical" } interface ChartTypeConvertion { name: string; group: string; trace: any; layout?: any; } declare const CHART_PLOLTLY_TYPE: Record; declare class TraceComponent { dimension: Array; dimensionName?: string; measure: Array; measureName?: string; selectedPoints?: Array; type: ChartType; orientation: ChartOrientation; options?: Object; constructor(); getPlotlyTrace(): any; getPlotlyTypeLayout(): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class GroupTracesComponent { columnPosition?: number; rowPosition?: number; traces: QueryList; getTraces(): any[]; private get domain(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LegendComponent { position: LegendPosition; constructor(); getLegendPlotly(): {}; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum LegendPosition { verticalLeftCenter = "verticalLeftCenter", verticalLeftTop = "verticalLeftTop", verticalLeftBottom = "verticalLeftBottom", verticalRightCenter = "verticalRightCenter", verticalRightTop = "verticalRightTop", verticalRightBottom = "verticalRightBottom", horizontalTopCenter = "horizontalTopCenter", horizontalTopLeft = "horizontalTopLeft", horizontalTopRight = "horizontalTopRight", horizontalBottomCenter = "horizontalBottomCenter", horizontalBottomLeft = "horizontalBottomLeft", horizontalBottomRight = "horizontalBottomRight" } declare const LegendPositionConvertion: Record; declare class ChartComponent implements OnInit, OnDestroy, OnChanges, AfterContentInit { private document; private paletteService; private cd; lazyLoadScriptService: LazyloadScriptService; plot: PlotlyComponent; traces?: QueryList; legend?: LegendComponent; groupTraces?: QueryList; data: any[]; private _config?; private _layout?; private _defaultLayout?; private paletteConfig?; private subscriptions; multiSelect: boolean; get config(): any; set config(value: any); get layout(): any; set layout(value: any); get revision(): number; set revision(value: number); onClick: EventEmitter>; onSelected: EventEmitter>; onDoubleClick: EventEmitter>; private lastClick; private clickTimer; plotlyReady$: Observable; constructor(document: any, paletteService: PaletteService, cd: ChangeDetectorRef, lazyLoadScriptService: LazyloadScriptService); ngOnInit(): void; ngAfterContentInit(): void; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; onSelect(event: any): void; private onEventClick; private refresh; private merge_options; private setDefautLayout; private setLayout; private setData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ChartModule { constructor(lazyLoadScriptService: LazyloadScriptService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { CHART_DEFAULT_PLOTLY_CONFIG, CHART_DEFAULT_PLOTLY_LAYOUT, CHART_PLOLTLY_TYPE, ChartComponent, ChartModule, ChartOrientation, ChartType, GroupTracesComponent, LegendComponent, LegendPosition, LegendPositionConvertion, TraceComponent }; export type { ChartTypeConvertion };