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