1 | import { EventEmitter, OnChanges, TemplateRef } from '@angular/core';
|
2 | import { DataItem, StringOrNumberOrDate } from '../models/chart-data.model';
|
3 | import { PlacementTypes } from '../common/tooltip/position';
|
4 | import { StyleTypes } from '../common/tooltip/style.type';
|
5 | import { ColorHelper } from '../common/color.helper';
|
6 | import { BarChartType } from './types/bar-chart-type.enum';
|
7 | import { Bar } from './types/bar.model';
|
8 | import { ViewDimensions } from '../common/types/view-dimension.interface';
|
9 | import { BarOrientation } from '../common/types/bar-orientation.enum';
|
10 | import * as i0 from "@angular/core";
|
11 | export declare class SeriesVerticalComponent implements OnChanges {
|
12 | private platformId;
|
13 | dims: ViewDimensions;
|
14 | type: BarChartType;
|
15 | series: DataItem[];
|
16 | xScale: any;
|
17 | yScale: any;
|
18 | colors: ColorHelper;
|
19 | gradient: boolean;
|
20 | activeEntries: DataItem[];
|
21 | seriesName: StringOrNumberOrDate;
|
22 | tooltipDisabled: boolean;
|
23 | tooltipTemplate: TemplateRef<any>;
|
24 | roundEdges: boolean;
|
25 | animations: boolean;
|
26 | showDataLabel: boolean;
|
27 | dataLabelFormatting: any;
|
28 | noBarWhenZero: boolean;
|
29 | select: EventEmitter<DataItem>;
|
30 | activate: EventEmitter<any>;
|
31 | deactivate: EventEmitter<any>;
|
32 | dataLabelHeightChanged: EventEmitter<any>;
|
33 | tooltipPlacement: PlacementTypes;
|
34 | tooltipType: StyleTypes;
|
35 | bars: Bar[];
|
36 | barsForDataLabels: Array<{
|
37 | x: number;
|
38 | y: number;
|
39 | width: number;
|
40 | height: number;
|
41 | total: number;
|
42 | series: string;
|
43 | }>;
|
44 | barOrientation: typeof BarOrientation;
|
45 | isSSR: boolean;
|
46 | constructor(platformId: any);
|
47 | ngOnInit(): void;
|
48 | ngOnChanges(changes: any): void;
|
49 | update(): void;
|
50 | updateDataLabels(): void;
|
51 | updateTooltipSettings(): void;
|
52 | isActive(entry: DataItem): boolean;
|
53 | onClick(data: DataItem): void;
|
54 | getLabel(dataItem: DataItem): StringOrNumberOrDate;
|
55 | trackBy(index: number, bar: Bar): string;
|
56 | trackDataLabelBy(index: number, barLabel: any): string;
|
57 | static ɵfac: i0.ɵɵFactoryDeclaration<SeriesVerticalComponent, never>;
|
58 | static ɵcmp: i0.ɵɵComponentDeclaration<SeriesVerticalComponent, "g[ngx-charts-series-vertical]", never, { "dims": { "alias": "dims"; "required": false; }; "type": { "alias": "type"; "required": false; }; "series": { "alias": "series"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "seriesName": { "alias": "seriesName"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; }, { "select": "select"; "activate": "activate"; "deactivate": "deactivate"; "dataLabelHeightChanged": "dataLabelHeightChanged"; }, never, never, false, never>;
|
59 | }
|