UNPKG

@covalent/echarts

Version:

Teradata UI Platform Echarts Module

33 lines (29 loc) 2.67 kB
import * as i0 from '@angular/core'; import { OnChanges, Type } from '@angular/core'; import { TdChartSeriesBarComponent, ITdBarSeries } from '@covalent/echarts/bar'; type TdHistogramBinningMethod = 'squareRoot' | 'scott' | 'freedmanDiaconis' | 'sturges'; interface ITdHistogramSeries extends ITdBarSeries { data?: number[] | number[][]; method?: TdHistogramBinningMethod; } declare class TdChartSeriesHistogramComponent extends TdChartSeriesBarComponent implements ITdHistogramSeries, OnChanges { source?: number[] | number[][]; method?: TdHistogramBinningMethod; ngOnChanges(): void; getConfig(): any; private setOptions; static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesHistogramComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesHistogramComponent, "td-chart-series[td-histogram]", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "data": { "alias": "data"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "animationThreshold": { "alias": "animationThreshold"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "animationEasing": { "alias": "animationEasing"; "required": false; }; "animationDelay": { "alias": "animationDelay"; "required": false; }; "animationDurationUpdate": { "alias": "animationDurationUpdate"; "required": false; }; "animationEasingUpdate": { "alias": "animationEasingUpdate"; "required": false; }; "animationDelayUpdate": { "alias": "animationDelayUpdate"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "source": { "alias": "source"; "required": false; }; "method": { "alias": "method"; "required": false; }; }, {}, never, never, true, never>; } declare const HISTOGRAM_MODULE_COMPONENTS: Type<any>[]; /** * @deprecated This module is deprecated and will be removed in future versions. * Please migrate to using standalone components as soon as possible. */ declare class CovalentHistogramEchartsModule { static ɵfac: i0.ɵɵFactoryDeclaration<CovalentHistogramEchartsModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentHistogramEchartsModule, never, [typeof TdChartSeriesHistogramComponent], [typeof TdChartSeriesHistogramComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<CovalentHistogramEchartsModule>; } export { CovalentHistogramEchartsModule, HISTOGRAM_MODULE_COMPONENTS, TdChartSeriesHistogramComponent }; export type { ITdHistogramSeries, TdHistogramBinningMethod };