systelab-components
Version:
systelab-components is a set of components that use wide accepted and adopted standard technologies like Angular and Bootstrap, as well as other popular libraries. Please read the ATTRIBUTION.md file for a complete list of dependencies.
26 lines (25 loc) • 940 B
TypeScript
import { AgRendererComponent } from 'ag-grid-angular';
import * as i0 from "@angular/core";
export interface IStackedBar {
id: string | number;
value: number;
color?: string;
colorClass?: string;
tooltipText?: string;
}
export declare class StackedBarCellRendererComponent implements AgRendererComponent {
params: any;
barClick: (rowData: any, id: string | number) => void;
total: number;
width: number;
stackedBars: Array<IStackedBar>;
agInit(params: any): void;
refresh(params: any): boolean;
doBarClick(event: MouseEvent, stackedBar: IStackedBar): void;
private initModel;
private getMaxValue;
private getTotal;
private getWidth;
static ɵfac: i0.ɵɵFactoryDeclaration<StackedBarCellRendererComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<StackedBarCellRendererComponent, "systelab-stacked-bar-cell", never, {}, {}, never, never, false, never>;
}