1 | import { TemplateRef, EventEmitter } from '@angular/core';
|
2 | import { BaseChartComponent } from '../common/base-chart.component';
|
3 | import { ColorHelper } from '../common/color.helper';
|
4 | import { LegendOptions, LegendPosition } from '../common/types/legend.model';
|
5 | import { ViewDimensions } from '../common/types/view-dimension.interface';
|
6 | import { ScaleType } from '../common/types/scale-type.enum';
|
7 | import * as i0 from "@angular/core";
|
8 | interface RectItem {
|
9 | fill: string;
|
10 | height: number;
|
11 | rx: number;
|
12 | width: number;
|
13 | x: number;
|
14 | y: number;
|
15 | }
|
16 | export declare class HeatMapComponent extends BaseChartComponent {
|
17 | legend: boolean;
|
18 | legendTitle: string;
|
19 | legendPosition: LegendPosition;
|
20 | xAxis: boolean;
|
21 | yAxis: boolean;
|
22 | showXAxisLabel: boolean;
|
23 | showYAxisLabel: boolean;
|
24 | xAxisLabel: string;
|
25 | yAxisLabel: string;
|
26 | gradient: boolean;
|
27 | innerPadding: number | number[] | string | string[];
|
28 | trimXAxisTicks: boolean;
|
29 | trimYAxisTicks: boolean;
|
30 | rotateXAxisTicks: boolean;
|
31 | maxXAxisTickLength: number;
|
32 | maxYAxisTickLength: number;
|
33 | xAxisTickFormatting: any;
|
34 | yAxisTickFormatting: any;
|
35 | xAxisTicks: any[];
|
36 | yAxisTicks: any[];
|
37 | tooltipDisabled: boolean;
|
38 | tooltipText: any;
|
39 | min: number;
|
40 | max: number;
|
41 | activeEntries: any[];
|
42 | wrapTicks: boolean;
|
43 | activate: EventEmitter<any>;
|
44 | deactivate: EventEmitter<any>;
|
45 | tooltipTemplate: TemplateRef<any>;
|
46 | dims: ViewDimensions;
|
47 | xDomain: string[];
|
48 | yDomain: string[];
|
49 | valueDomain: any[];
|
50 | xScale: any;
|
51 | yScale: any;
|
52 | colors: ColorHelper;
|
53 | colorScale: any;
|
54 | transform: string;
|
55 | rects: RectItem[];
|
56 | margin: number[];
|
57 | xAxisHeight: number;
|
58 | yAxisWidth: number;
|
59 | legendOptions: LegendOptions;
|
60 | scaleType: ScaleType;
|
61 | update(): void;
|
62 | getXDomain(): string[];
|
63 | getYDomain(): string[];
|
64 | getValueDomain(): any[];
|
65 | |
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
|
74 |
|
75 | getDimension(value: string | number | Array<string | number>, index: number, N: number, L: number): number;
|
76 | getXScale(): any;
|
77 | getYScale(): any;
|
78 | getRects(): RectItem[];
|
79 | onClick(data: any): void;
|
80 | setColors(): void;
|
81 | getLegendOptions(): LegendOptions;
|
82 | updateYAxisWidth({ width }: {
|
83 | width: number;
|
84 | }): void;
|
85 | updateXAxisHeight({ height }: {
|
86 | height: number;
|
87 | }): void;
|
88 | onActivate(event: any, group: any, fromLegend?: boolean): void;
|
89 | onDeactivate(event: any, group: any, fromLegend?: boolean): void;
|
90 | static ɵfac: i0.ɵɵFactoryDeclaration<HeatMapComponent, never>;
|
91 | static ɵcmp: i0.ɵɵComponentDeclaration<HeatMapComponent, "ngx-charts-heat-map", never, { "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; }; "gradient": { "alias": "gradient"; "required": false; }; "innerPadding": { "alias": "innerPadding"; "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; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
|
92 | }
|
93 | export {};
|