import { ChangeDetectorRef, OnInit } from "@angular/core"; import { EventBus, IconService, IDataSource, IEvent } from "@nova-ui/bits"; import { IAccessors, IChartAssistSeries, Renderer, SparkChartAssist, StatusAccessors } from "@nova-ui/charts"; import { TimeseriesScalesService } from "../../timeseries-scales.service"; import { ITimeseriesWidgetStatusData, TimeseriesChartTypes, TimeseriesWidgetZoomPlugin } from "../../types"; import { TimeseriesChartComponent } from "../timeseries-chart.component"; import * as i0 from "@angular/core"; export declare class StatusBarChartComponent extends TimeseriesChartComponent implements OnInit { private iconService; timeseriesScalesService: TimeseriesScalesService; changeDetector: ChangeDetectorRef; protected eventBus: EventBus; static lateLoadKey: string; chartAssist: SparkChartAssist; collectionId: string; protected accessors: StatusAccessors; protected renderer: Renderer; private chartUpdate$; zoomPlugins: TimeseriesWidgetZoomPlugin[]; timeseriesChartTypes: typeof TimeseriesChartTypes; summaryLegendBcgColor: string; summaryLegendColor: string; constructor(iconService: IconService, dataSource: IDataSource, timeseriesScalesService: TimeseriesScalesService, changeDetector: ChangeDetectorRef, eventBus: EventBus); ngOnInit(): void; getDataPointData(series: IChartAssistSeries, key: string): any; protected buildChart(): void; protected updateChartData(): void; /** * Transforms standard timeseries x/y data so that it can be understood by a status chart * * @param data The data to transform * @param isIntervalProgression Whether the data should be treated as continuous or occurring at a regular interval * * @returns The transformed data */ protected transformData(data: ITimeseriesWidgetStatusData[], isIntervalProgression: boolean): IStatusData[]; private setGridConfigFromConfiguration; displayDeleteButton(): boolean; isStatusChart(): boolean; getDescriptionSecondary(series: IChartAssistSeries, index: number): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface IStatusData { start: Date; end: Date; thick?: boolean; color?: string; icon?: string; } export {};