@covalent/echarts
Version:
Teradata UI Platform Echarts Module
95 lines (90 loc) • 5.66 kB
TypeScript
import * as i0 from '@angular/core';
import { OnChanges, OnDestroy, TemplateRef, Type } from '@angular/core';
import { TdTooltipTrigger, TdTooltipTriggerOn, TdTooltipPosition } from '@covalent/echarts/base';
declare class TdTooltipContext {
$implicit: any;
ticket: string;
}
declare class TdChartTooltipFormatterDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartTooltipFormatterDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TdChartTooltipFormatterDirective, "ng-template[tdTooltipFormatter]", never, {}, {}, never, never, true, never>;
}
declare class TdChartTooltipComponent implements OnChanges, OnDestroy {
private _changeDetectorRef;
private _elementRef;
private _optionsService;
private _state;
_context: TdTooltipContext;
config: any;
show?: boolean | undefined;
trigger?: TdTooltipTrigger;
axisPointer: any;
showContent?: boolean | undefined;
alwaysShowContent?: boolean | undefined;
triggerOn?: TdTooltipTriggerOn;
showDelay?: number | undefined;
hideDelay?: number | undefined;
enterable?: boolean | undefined;
renderMode?: 'html' | 'richText';
confine: boolean;
transitionDuration: number;
position?: TdTooltipPosition;
formatter?: string | Function;
backgroundColor?: string | undefined;
borderColor?: string | undefined;
borderWidth?: number | undefined;
padding?: number | undefined;
textStyle: any;
extraCssText?: string;
formatterTemplate: TemplateRef<any>;
fullTemplate: TemplateRef<any>;
ngOnChanges(): void;
ngOnDestroy(): void;
private _setOptions;
private _removeOption;
private _formatter;
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartTooltipComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartTooltipComponent, "td-chart-tooltip", never, { "config": { "alias": "config"; "required": false; }; "show": { "alias": "show"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "axisPointer": { "alias": "axisPointer"; "required": false; }; "showContent": { "alias": "showContent"; "required": false; }; "alwaysShowContent": { "alias": "alwaysShowContent"; "required": false; }; "triggerOn": { "alias": "triggerOn"; "required": false; }; "showDelay": { "alias": "showDelay"; "required": false; }; "hideDelay": { "alias": "hideDelay"; "required": false; }; "enterable": { "alias": "enterable"; "required": false; }; "renderMode": { "alias": "renderMode"; "required": false; }; "confine": { "alias": "confine"; "required": false; }; "transitionDuration": { "alias": "transitionDuration"; "required": false; }; "position": { "alias": "position"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; "extraCssText": { "alias": "extraCssText"; "required": false; }; }, {}, ["formatterTemplate"], never, true, never>;
}
declare class TdSeriesTooltipComponent implements OnChanges, OnDestroy {
private _changeDetectorRef;
private _elementRef;
private _seriesComponent;
private _state;
_context: TdTooltipContext;
config?: any;
formatter?: any;
position?: string | string[] | number[];
backgroundColor?: string | undefined;
borderColor?: string | undefined;
borderWidth?: number | undefined;
padding?: number | undefined;
textStyle?: {
color: string;
} | undefined;
extraCssText?: string;
formatterTemplate: TemplateRef<any>;
fullTemplate: TemplateRef<any>;
ngOnChanges(): void;
ngOnDestroy(): void;
private _setOptions;
/**
* Formatter for tooltip
*
*/
private _formatter;
private _removeOption;
static ɵfac: i0.ɵɵFactoryDeclaration<TdSeriesTooltipComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TdSeriesTooltipComponent, "td-chart-series-tooltip", never, { "config": { "alias": "config"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; "extraCssText": { "alias": "extraCssText"; "required": false; }; }, {}, ["formatterTemplate"], never, true, never>;
}
declare const TOOLTIP_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 CovalentTooltipEchartsModule {
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentTooltipEchartsModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentTooltipEchartsModule, never, [typeof TdChartTooltipComponent, typeof TdChartTooltipFormatterDirective, typeof TdSeriesTooltipComponent], [typeof TdChartTooltipComponent, typeof TdChartTooltipFormatterDirective, typeof TdSeriesTooltipComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentTooltipEchartsModule>;
}
export { CovalentTooltipEchartsModule, TOOLTIP_MODULE_COMPONENTS, TdChartTooltipComponent, TdChartTooltipFormatterDirective, TdSeriesTooltipComponent, TdTooltipContext };