1 | import { EventEmitter, TemplateRef, TrackByFunction } from '@angular/core';
|
2 | import { ColorHelper } from '../common/color.helper';
|
3 | import { Series } from '../models/chart-data.model';
|
4 | import { BaseChartComponent } from '../common/base-chart.component';
|
5 | import { BarChartType } from './types/bar-chart-type.enum';
|
6 | import { LegendOptions, LegendPosition } from '../common/types/legend.model';
|
7 | import { ScaleType } from '../common/types/scale-type.enum';
|
8 | import { ViewDimensions } from '../common/types/view-dimension.interface';
|
9 | import * as i0 from "@angular/core";
|
10 | export declare class BarVerticalNormalizedComponent 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 | barPadding: number;
|
35 | roundDomains: boolean;
|
36 | noBarWhenZero: boolean;
|
37 | wrapTicks: boolean;
|
38 | activate: EventEmitter<any>;
|
39 | deactivate: EventEmitter<any>;
|
40 | tooltipTemplate: TemplateRef<any>;
|
41 | dims: ViewDimensions;
|
42 | groupDomain: string[];
|
43 | innerDomain: string[];
|
44 | valueDomain: [number, number];
|
45 | xScale: any;
|
46 | yScale: any;
|
47 | transform: string;
|
48 | colors: ColorHelper;
|
49 | margin: number[];
|
50 | xAxisHeight: number;
|
51 | yAxisWidth: number;
|
52 | legendOptions: LegendOptions;
|
53 | isSSR: boolean;
|
54 | barChartType: typeof BarChartType;
|
55 | ngOnInit(): void;
|
56 | update(): void;
|
57 | getGroupDomain(): string[];
|
58 | getInnerDomain(): string[];
|
59 | getXScale(): any;
|
60 | getYScale(): any;
|
61 | groupTransform(group: Series): string;
|
62 | onClick(data: any, group?: Series): void;
|
63 | trackBy: TrackByFunction<Series>;
|
64 | setColors(): void;
|
65 | getLegendOptions(): LegendOptions;
|
66 | updateYAxisWidth({ width }: {
|
67 | width: number;
|
68 | }): void;
|
69 | updateXAxisHeight({ height }: {
|
70 | height: number;
|
71 | }): void;
|
72 | onActivate(event: any, group: Series, fromLegend?: boolean): void;
|
73 | onDeactivate(event: any, group: Series, fromLegend?: boolean): void;
|
74 | static ɵfac: i0.ɵɵFactoryDeclaration<BarVerticalNormalizedComponent, never>;
|
75 | static ɵcmp: i0.ɵɵComponentDeclaration<BarVerticalNormalizedComponent, "ngx-charts-bar-vertical-normalized", 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; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
76 | }
|