1 | import { EventEmitter, TemplateRef, TrackByFunction } from '@angular/core';
|
2 | import { ColorHelper } from '../common/color.helper';
|
3 | import { DataItem } from '../models/chart-data.model';
|
4 | import { BaseChartComponent } from '../common/base-chart.component';
|
5 | import { ScaleType } from '../common/types/scale-type.enum';
|
6 | import { LegendOptions, LegendPosition } from '../common/types/legend.model';
|
7 | import { ViewDimensions } from '../common/types/view-dimension.interface';
|
8 | import { BarOrientation } from '../common/types/bar-orientation.enum';
|
9 | import * as i0 from "@angular/core";
|
10 | export declare class BarHorizontal2DComponent extends BaseChartComponent {
|
11 | legend: boolean;
|
12 | legendTitle: string;
|
13 | legendPosition: LegendPosition;
|
14 | xAxis: any;
|
15 | yAxis: any;
|
16 | showXAxisLabel: boolean;
|
17 | showYAxisLabel: boolean;
|
18 | xAxisLabel: string;
|
19 | yAxisLabel: string;
|
20 | tooltipDisabled: boolean;
|
21 | gradient: boolean;
|
22 | showGridLines: boolean;
|
23 | activeEntries: any[];
|
24 | schemeType: ScaleType;
|
25 | trimXAxisTicks: boolean;
|
26 | trimYAxisTicks: boolean;
|
27 | rotateXAxisTicks: boolean;
|
28 | maxXAxisTickLength: number;
|
29 | maxYAxisTickLength: number;
|
30 | xAxisTickFormatting: any;
|
31 | yAxisTickFormatting: any;
|
32 | xAxisTicks: any[];
|
33 | yAxisTicks: any[];
|
34 | groupPadding: number;
|
35 | barPadding: number;
|
36 | roundDomains: boolean;
|
37 | roundEdges: boolean;
|
38 | xScaleMax: number;
|
39 | showDataLabel: boolean;
|
40 | dataLabelFormatting: any;
|
41 | noBarWhenZero: boolean;
|
42 | wrapTicks: boolean;
|
43 | activate: EventEmitter<any>;
|
44 | deactivate: EventEmitter<any>;
|
45 | tooltipTemplate: TemplateRef<any>;
|
46 | dims: ViewDimensions;
|
47 | groupDomain: string[];
|
48 | innerDomain: string[];
|
49 | valueDomain: [number, number];
|
50 | groupScale: any;
|
51 | innerScale: any;
|
52 | valueScale: any;
|
53 | transform: string;
|
54 | colors: ColorHelper;
|
55 | margin: number[];
|
56 | xAxisHeight: number;
|
57 | yAxisWidth: number;
|
58 | legendOptions: LegendOptions;
|
59 | dataLabelMaxWidth: any;
|
60 | isSSR: boolean;
|
61 | barOrientation: typeof BarOrientation;
|
62 | ngOnInit(): void;
|
63 | update(): void;
|
64 | getGroupScale(): any;
|
65 | getInnerScale(): any;
|
66 | getValueScale(): any;
|
67 | getGroupDomain(): string[];
|
68 | getInnerDomain(): string[];
|
69 | getValueDomain(): [number, number];
|
70 | groupTransform(group: DataItem): string;
|
71 | onClick(data: any, group?: DataItem): void;
|
72 | trackBy: TrackByFunction<DataItem>;
|
73 | setColors(): void;
|
74 | getLegendOptions(): LegendOptions;
|
75 | updateYAxisWidth({ width }: {
|
76 | width: number;
|
77 | }): void;
|
78 | updateXAxisHeight({ height }: {
|
79 | height: number;
|
80 | }): void;
|
81 | onDataLabelMaxWidthChanged(event: any, groupIndex: number): void;
|
82 | onActivate(event: any, group: DataItem, fromLegend?: boolean): void;
|
83 | onDeactivate(event: any, group: DataItem, fromLegend?: boolean): void;
|
84 | static ɵfac: i0.ɵɵFactoryDeclaration<BarHorizontal2DComponent, never>;
|
85 | static ɵcmp: i0.ɵɵComponentDeclaration<BarHorizontal2DComponent, "ngx-charts-bar-horizontal-2d", never, { "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "trimXAxisTicks": { "alias": "trimXAxisTicks"; "required": false; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "rotateXAxisTicks": { "alias": "rotateXAxisTicks"; "required": false; }; "maxXAxisTickLength": { "alias": "maxXAxisTickLength"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "xAxisTicks": { "alias": "xAxisTicks"; "required": false; }; "yAxisTicks": { "alias": "yAxisTicks"; "required": false; }; "groupPadding": { "alias": "groupPadding"; "required": false; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "xScaleMax": { "alias": "xScaleMax"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
86 | }
|