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