UNPKG

2.13 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef } from '@angular/core';
2import { ColorHelper } from '../common/color.helper';
3import { Series } from '../models/chart-data.model';
4import { BaseChartComponent } from '../common/base-chart.component';
5import { ViewDimensions, LegendPosition, ScaleType, LegendOptions } from '../common/types';
6export declare class BarVerticalNormalizedComponent 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 noBarWhenZero: boolean;
33 activate: EventEmitter<any>;
34 deactivate: EventEmitter<any>;
35 tooltipTemplate: TemplateRef<any>;
36 dims: ViewDimensions;
37 groupDomain: string[];
38 innerDomain: string[];
39 valueDomain: [number, number];
40 xScale: any;
41 yScale: any;
42 transform: string;
43 colors: ColorHelper;
44 margin: number[];
45 xAxisHeight: number;
46 yAxisWidth: number;
47 legendOptions: LegendOptions;
48 update(): void;
49 getGroupDomain(): string[];
50 getInnerDomain(): string[];
51 getXScale(): any;
52 getYScale(): any;
53 groupTransform(group: Series): string;
54 onClick(data: any, group?: Series): void;
55 trackBy(index: number, item: Series): any;
56 setColors(): void;
57 getLegendOptions(): LegendOptions;
58 updateYAxisWidth({ width }: {
59 width: number;
60 }): void;
61 updateXAxisHeight({ height }: {
62 height: number;
63 }): void;
64 onActivate(event: any, group: Series, fromLegend?: boolean): void;
65 onDeactivate(event: any, group: Series, fromLegend?: boolean): void;
66}