UNPKG

1.22 kBTypeScriptView Raw
1import { SimpleChanges, OnChanges } from '@angular/core';
2import { BarOrientation } from './types/bar-orientation.enum';
3import { ViewDimensions } from './types/view-dimension.interface';
4import * as i0 from "@angular/core";
5interface GridPanel {
6 class: ClassEnum;
7 height: number;
8 name: string;
9 width: number;
10 x: number;
11 y: number;
12}
13declare enum ClassEnum {
14 Odd = "odd",
15 Even = "even"
16}
17export declare class GridPanelSeriesComponent implements OnChanges {
18 gridPanels: GridPanel[];
19 data: any[];
20 dims: ViewDimensions;
21 xScale: any;
22 yScale: any;
23 orient: BarOrientation;
24 ngOnChanges(changes: SimpleChanges): void;
25 update(): void;
26 getGridPanels(): GridPanel[];
27 static ɵfac: i0.ɵɵFactoryDeclaration<GridPanelSeriesComponent, never>;
28 static ɵcmp: i0.ɵɵComponentDeclaration<GridPanelSeriesComponent, "g[ngx-charts-grid-panel-series]", never, { "data": { "alias": "data"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; }, {}, never, never, false, never>;
29}
30export {};