@alauda-fe/common
Version:
Alauda frontend team common codes.
30 lines (29 loc) • 1.42 kB
TypeScript
import { OnInit } from '@angular/core';
import { Orientation, SeriesData } from '../../types';
import { ChartSeriesComponent } from './series.component';
import * as i0 from "@angular/core";
export declare class ChartBarSeriesComponent extends ChartSeriesComponent implements OnInit {
orientation: Orientation | string;
type: 'standard' | 'stacked';
seriesType: 'line' | 'area' | 'bar';
bandWidth: number;
adaptiveBandWidth: boolean;
ngOnInit(): void;
transform: (name: string, length: number) => string;
getData(seriesData: SeriesData[]): SeriesData[] | {
values: {
y: any;
x: string | number | Date;
}[];
path?: string;
areaPath?: string;
lineWidth?: number;
gradientFillId?: string;
visibility?: string;
name: string;
color?: string;
unit?: string;
}[];
static ɵfac: i0.ɵɵFactoryDeclaration<ChartBarSeriesComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ChartBarSeriesComponent, "g[aclBarSeries]", never, { "orientation": { "alias": "orientation"; "required": false; }; "type": { "alias": "type"; "required": false; }; "seriesType": { "alias": "seriesType"; "required": false; }; "bandWidth": { "alias": "bandWidth"; "required": false; }; "adaptiveBandWidth": { "alias": "adaptiveBandWidth"; "required": false; }; }, {}, never, never, false, never>;
}