1 | import { EventEmitter, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
2 | import { ScaleLinear, ScaleBand } from 'd3-scale';
|
3 | import { IBoxModel, BoxChartSeries, DataItem } from '../models/chart-data.model';
|
4 | import { IVector2D } from '../models/coordinates.model';
|
5 | import { ColorHelper } from '../common/color.helper';
|
6 | import { StyleTypes } from '../common/tooltip/style.type';
|
7 | import { PlacementTypes } from '../common/tooltip/position';
|
8 | import { ViewDimensions } from '../common/types/view-dimension.interface';
|
9 | import * as i0 from "@angular/core";
|
10 | export declare class BoxSeriesComponent implements OnChanges {
|
11 | dims: ViewDimensions;
|
12 | series: BoxChartSeries;
|
13 | xScale: ScaleBand<string>;
|
14 | yScale: ScaleLinear<number, number>;
|
15 | colors: ColorHelper;
|
16 | animations: boolean;
|
17 | strokeColor: string;
|
18 | strokeWidth: number;
|
19 | tooltipDisabled: boolean;
|
20 | tooltipTemplate: TemplateRef<any>;
|
21 | tooltipPlacement: PlacementTypes;
|
22 | tooltipType: StyleTypes;
|
23 | roundEdges: boolean;
|
24 | gradient: boolean;
|
25 | select: EventEmitter<IBoxModel>;
|
26 | activate: EventEmitter<IBoxModel>;
|
27 | deactivate: EventEmitter<IBoxModel>;
|
28 | box: IBoxModel;
|
29 | counts: DataItem[];
|
30 | quartiles: [number, number, number];
|
31 | whiskers: [number, number];
|
32 | lineCoordinates: [IVector2D, IVector2D, IVector2D, IVector2D];
|
33 | tooltipTitle: string;
|
34 | ngOnChanges(changes: SimpleChanges): void;
|
35 | onClick(data: IBoxModel): void;
|
36 | update(): void;
|
37 | getBoxQuantiles(inputData: Array<number | Date>): [number, number, number];
|
38 | getLinesCoordinates(seriesName: string, whiskers: [number, number], quartiles: [number, number, number], barWidth: number): [IVector2D, IVector2D, IVector2D, IVector2D];
|
39 | updateTooltipSettings(): void;
|
40 | static ɵfac: i0.ɵɵFactoryDeclaration<BoxSeriesComponent, never>;
|
41 | static ɵcmp: i0.ɵɵComponentDeclaration<BoxSeriesComponent, "g[ngx-charts-box-series]", never, { "dims": { "alias": "dims"; "required": false; }; "series": { "alias": "series"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; "strokeColor": { "alias": "strokeColor"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipType": { "alias": "tooltipType"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; }, never, never, false, never>;
|
42 | }
|