import * as i0 from '@angular/core'; import { TemplateRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { Point2D, Point2DData, IPoint2DData } from '@obliczeniowo/elementary/classes'; import * as i2 from '@angular/common'; import * as i3 from '@obliczeniowo/elementary/simple-diagram2-d'; declare class StatisticDiagramComponent implements ControlValueAccessor { protected hovered?: { converted: Point2D; original: Point2DData; }; protected touched: boolean; /** header text to display */ header: string; /** mixed point coordinates and data as string to display on hover with y value by default */ points: Point2DData[]; /** width */ width: number; /** height */ height: number; /** * disable the whole things */ disabled: boolean; /** * reference to detected in ng-content template with #hoveredRef used to replace default way of displaying statistic on * mouse over * * @example * * * * {{ hovered.original.extData }} Value: * {{ hovered.original.y }} * * */ hoveredRef?: TemplateRef; onChange: (value: Point2DData[]) => void; onTouched: () => void; registerOnValidatorChange(fn: () => void): void; writeValue(set: IPoint2DData[]): void; registerOnChange(onChange: any): void; registerOnTouched(onTouched: any): void; setDisabledState(disabled: boolean): void; markAsTouched(): void; setHovered(point: { converted: Point2D; original: Point2DData; }): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class StatisticDiagramModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { StatisticDiagramComponent, StatisticDiagramModule };