UNPKG

2.38 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef } from '@angular/core';
2import { ColorHelper } from '../common/color.helper';
3import { BaseChartComponent } from '../common/base-chart.component';
4import { DataItem } from '../models/chart-data.model';
5import { LegendOptions, LegendPosition } from '../common/types/legend.model';
6import { ScaleType } from '../common/types/scale-type.enum';
7import { ViewDimensions } from '../common/types/view-dimension.interface';
8export declare class BarVerticalComponent extends BaseChartComponent {
9 legend: boolean;
10 legendTitle: string;
11 legendPosition: LegendPosition;
12 xAxis: any;
13 yAxis: any;
14 showXAxisLabel: boolean;
15 showYAxisLabel: boolean;
16 xAxisLabel: string;
17 yAxisLabel: string;
18 tooltipDisabled: boolean;
19 gradient: boolean;
20 showGridLines: boolean;
21 activeEntries: any[];
22 schemeType: ScaleType;
23 trimXAxisTicks: boolean;
24 trimYAxisTicks: boolean;
25 rotateXAxisTicks: boolean;
26 maxXAxisTickLength: number;
27 maxYAxisTickLength: number;
28 xAxisTickFormatting: any;
29 yAxisTickFormatting: any;
30 xAxisTicks: any[];
31 yAxisTicks: any[];
32 barPadding: number;
33 roundDomains: boolean;
34 roundEdges: boolean;
35 yScaleMax: number;
36 yScaleMin: number;
37 showDataLabel: boolean;
38 dataLabelFormatting: any;
39 noBarWhenZero: boolean;
40 activate: EventEmitter<any>;
41 deactivate: EventEmitter<any>;
42 tooltipTemplate: TemplateRef<any>;
43 dims: ViewDimensions;
44 xScale: any;
45 yScale: any;
46 xDomain: any;
47 yDomain: any;
48 transform: string;
49 colors: ColorHelper;
50 margin: number[];
51 xAxisHeight: number;
52 yAxisWidth: number;
53 legendOptions: LegendOptions;
54 dataLabelMaxHeight: any;
55 update(): void;
56 getXScale(): any;
57 getYScale(): any;
58 getXDomain(): any[];
59 getYDomain(): [number, number];
60 onClick(data: DataItem | string): void;
61 setColors(): void;
62 getLegendOptions(): {
63 scaleType: any;
64 colors: any;
65 domain: any[];
66 title: any;
67 position: LegendPosition;
68 };
69 updateYAxisWidth({ width }: {
70 width: any;
71 }): void;
72 updateXAxisHeight({ height }: {
73 height: any;
74 }): void;
75 onDataLabelMaxHeightChanged(event: any): void;
76 onActivate(item: any, fromLegend?: boolean): void;
77 onDeactivate(item: any, fromLegend?: boolean): void;
78}