UNPKG

4.96 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 wrapTicks: boolean;
40 activate: EventEmitter<any>;
41 deactivate: EventEmitter<any>;
42 tooltipTemplate: TemplateRef<any>;
43 dims: ViewDimensions;
44 colors: ColorHelper;
45 scaleType: ScaleType;
46 margin: number[];
47 bubblePadding: number[];
48 data: BubbleChartSeries[];
49 legendOptions: LegendOptions;
50 transform: string;
51 clipPath: string;
52 clipPathId: string;
53 seriesDomain: number[];
54 xDomain: number[];
55 yDomain: number[];
56 rDomain: number[];
57 xScaleType: ScaleType;
58 yScaleType: ScaleType;
59 yScale: any;
60 xScale: any;
61 rScale: any;
62 xAxisHeight: number;
63 yAxisWidth: number;
64 activeEntries: any[];
65 isSSR: boolean;
66 ngOnInit(): void;
67 update(): void;
68 hideCircles(): void;
69 onClick(data: any, series?: any): void;
70 getBubblePadding(): number[];
71 setScales(): void;
72 getYScale(domain: any, height: number): any;
73 getXScale(domain: any, width: number): any;
74 getRScale(domain: any, range: any): any;
75 getLegendOptions(): LegendOptions;
76 getXDomain(): number[];
77 getYDomain(): number[];
78 getRDomain(): [number, number];
79 updateYAxisWidth({ width }: {
80 width: number;
81 }): void;
82 updateXAxisHeight({ height }: {
83 height: number;
84 }): void;
85 onActivate(item: any): void;
86 onDeactivate(item: any): void;
87 deactivateAll(): void;
88 trackBy(index: number, item: any): string;
89 static ɵfac: i0.ɵɵFactoryDeclaration<BubbleChartComponent, never>;
90 static ɵcmp: i0.ɵɵComponentDeclaration<BubbleChartComponent, "ngx-charts-bubble-chart", never, { "showGridLines": { "alias": "showGridLines"; "required": false; }; "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "trimXAxisTicks": { "alias": "trimXAxisTicks"; "required": false; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "rotateXAxisTicks": { "alias": "rotateXAxisTicks"; "required": false; }; "maxXAxisTickLength": { "alias": "maxXAxisTickLength"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "xAxisTicks": { "alias": "xAxisTicks"; "required": false; }; "yAxisTicks": { "alias": "yAxisTicks"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "maxRadius": { "alias": "maxRadius"; "required": false; }; "minRadius": { "alias": "minRadius"; "required": false; }; "autoScale": { "alias": "autoScale"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "xScaleMin": { "alias": "xScaleMin"; "required": false; }; "xScaleMax": { "alias": "xScaleMax"; "required": false; }; "yScaleMin": { "alias": "yScaleMin"; "required": false; }; "yScaleMax": { "alias": "yScaleMax"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
91}