UNPKG

1.55 kBTypeScriptView Raw
1import { BaseChartComponent } from '../common/base-chart.component';
2import { ColorHelper } from '../common/color.helper';
3import { CardModel } from './card-series.component';
4import { ViewDimensions } from '../common/types/view-dimension.interface';
5import * as i0 from "@angular/core";
6export declare class NumberCardComponent extends BaseChartComponent {
7 cardColor: string;
8 bandColor: string;
9 emptyColor: string;
10 innerPadding: number;
11 textColor: string;
12 valueFormatting: any;
13 labelFormatting: any;
14 designatedTotal: number;
15 dims: ViewDimensions;
16 data: CardModel[];
17 colors: ColorHelper;
18 transform: string;
19 domain: any[];
20 margin: number[];
21 get clickable(): boolean;
22 update(): void;
23 getDomain(): string[];
24 onClick(data: any): void;
25 setColors(): void;
26 static ɵfac: i0.ɵɵFactoryDeclaration<NumberCardComponent, never>;
27 static ɵcmp: i0.ɵɵComponentDeclaration<NumberCardComponent, "ngx-charts-number-card", never, { "cardColor": { "alias": "cardColor"; "required": false; }; "bandColor": { "alias": "bandColor"; "required": false; }; "emptyColor": { "alias": "emptyColor"; "required": false; }; "innerPadding": { "alias": "innerPadding"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "designatedTotal": { "alias": "designatedTotal"; "required": false; }; }, {}, never, never, false, never>;
28}