import { AfterViewInit, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { ChartDataset, ChartOptions } from 'chart.js'; import { BaseChartDirective } from "ng2-charts"; import { DateFormat } from "../model/DateFormat"; import { BarChartData } from "./BarChartData"; import moment from "moment"; import { ChartDot } from '../model/ChartDot'; import * as i0 from "@angular/core"; export declare class BarChartComponent implements OnInit, AfterViewInit, OnChanges { chart: BaseChartDirective; barChartData?: BarChartData[]; disableAnimations: boolean; xTitle: string; yTitle: string; yMaxTicks: number; valuePipe?: any; isStacked: boolean; dateFormat?: DateFormat; isMonthlyChart?: boolean; disableLegendOnClick: boolean; displayLegend: boolean; isSmallChart: boolean; shouldSortDatasets: boolean; arbitraryLines?: moment.Moment[]; plugins: any[]; height: number; chartLabels: (Date | string | number | moment.Moment)[]; chartDataSets: ChartDataset[]; options: ChartOptions; chartColorIndex: number; ngOnInit(): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; chartOptions: (barChartData?: BarChartData[], valuePipe?: any, arbitraryLines?: moment.Moment[]) => void; initChart(barChartData: BarChartData[], isMonthlyChart?: boolean, shouldSortDatasets?: boolean): void; generateExtendedHorizontalLine(barChartData: BarChartData[], isMonthlyChart?: boolean): BarChartData[]; generateExtendedDots(chartDots: ChartDot[], period: string, isMonthlyChart?: boolean): ChartDot; static sortStackedBarDataSets(chartDataSets: ChartDataset[]): ChartDataset[]; private getSmallChartOptions; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }