UNPKG

2.39 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 BarVerticalStackedComponent 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 yScaleMax: number;
33 showDataLabel: boolean;
34 dataLabelFormatting: any;
35 noBarWhenZero: boolean;
36 activate: EventEmitter<any>;
37 deactivate: EventEmitter<any>;
38 tooltipTemplate: TemplateRef<any>;
39 dims: ViewDimensions;
40 groupDomain: string[];
41 innerDomain: string[];
42 valueDomain: [number, number];
43 xScale: any;
44 yScale: any;
45 transform: string;
46 tickFormatting: (label: string) => string;
47 colors: ColorHelper;
48 margin: number[];
49 xAxisHeight: number;
50 yAxisWidth: number;
51 legendOptions: LegendOptions;
52 dataLabelMaxHeight: any;
53 update(): void;
54 getGroupDomain(): string[];
55 getInnerDomain(): string[];
56 getValueDomain(): [number, number];
57 getXScale(): any;
58 getYScale(): any;
59 onDataLabelMaxHeightChanged(event: any, groupIndex: number): void;
60 groupTransform(group: Series): string;
61 onClick(data: any, group?: Series): void;
62 trackBy(index: number, item: Series): any;
63 setColors(): void;
64 getLegendOptions(): LegendOptions;
65 updateYAxisWidth({ width }: {
66 width: number;
67 }): void;
68 updateXAxisHeight({ height }: {
69 height: number;
70 }): void;
71 onActivate(event: any, group: any, fromLegend?: boolean): void;
72 onDeactivate(event: any, group: Series, fromLegend?: boolean): void;
73}