UNPKG

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