UNPKG

2.65 kBTypeScriptView Raw
1import { EventEmitter, TemplateRef } from '@angular/core';
2import { BaseChartComponent } from '../common/base-chart.component';
3import { ColorHelper } from '../common/color.helper';
4import { BubbleChartSeries } 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 BubbleChartComponent extends BaseChartComponent {
9 showGridLines: boolean;
10 legend: boolean;
11 legendTitle: string;
12 legendPosition: LegendPosition;
13 xAxis: boolean;
14 yAxis: boolean;
15 showXAxisLabel: boolean;
16 showYAxisLabel: boolean;
17 xAxisLabel: string;
18 yAxisLabel: string;
19 trimXAxisTicks: boolean;
20 trimYAxisTicks: boolean;
21 rotateXAxisTicks: boolean;
22 maxXAxisTickLength: number;
23 maxYAxisTickLength: number;
24 xAxisTickFormatting: any;
25 yAxisTickFormatting: any;
26 xAxisTicks: any[];
27 yAxisTicks: any[];
28 roundDomains: boolean;
29 maxRadius: number;
30 minRadius: number;
31 autoScale: boolean;
32 schemeType: ScaleType;
33 tooltipDisabled: boolean;
34 xScaleMin: number;
35 xScaleMax: number;
36 yScaleMin: number;
37 yScaleMax: number;
38 activate: EventEmitter<any>;
39 deactivate: EventEmitter<any>;
40 tooltipTemplate: TemplateRef<any>;
41 dims: ViewDimensions;
42 colors: ColorHelper;
43 scaleType: ScaleType;
44 margin: number[];
45 bubblePadding: number[];
46 data: BubbleChartSeries[];
47 legendOptions: LegendOptions;
48 transform: string;
49 clipPath: string;
50 clipPathId: string;
51 seriesDomain: number[];
52 xDomain: number[];
53 yDomain: number[];
54 rDomain: number[];
55 xScaleType: ScaleType;
56 yScaleType: ScaleType;
57 yScale: any;
58 xScale: any;
59 rScale: any;
60 xAxisHeight: number;
61 yAxisWidth: number;
62 activeEntries: any[];
63 update(): void;
64 hideCircles(): void;
65 onClick(data: any, series?: any): void;
66 getBubblePadding(): number[];
67 setScales(): void;
68 getYScale(domain: any, height: number): any;
69 getXScale(domain: any, width: number): any;
70 getRScale(domain: any, range: any): any;
71 getLegendOptions(): LegendOptions;
72 getXDomain(): number[];
73 getYDomain(): number[];
74 getRDomain(): [number, number];
75 updateYAxisWidth({ width }: {
76 width: number;
77 }): void;
78 updateXAxisHeight({ height }: {
79 height: number;
80 }): void;
81 onActivate(item: any): void;
82 onDeactivate(item: any): void;
83 deactivateAll(): void;
84 trackBy(index: number, item: any): string;
85}