@covalent/echarts
Version:
Teradata UI Platform Echarts Module
45 lines (44 loc) • 2.04 kB
TypeScript
import { OnChanges, OnInit, OnDestroy } from '@angular/core';
import { TdChartOptionsService } from '../chart-options.service';
import { ITdSeriesTooltip } from './series.interface';
import { ITdAnimation } from '../base.types';
import * as i0 from "@angular/core";
export interface ITdSeries extends ITdAnimation {
id?: string;
name?: string;
color?: string;
type?: string;
tooltip?: ITdSeriesTooltip;
}
export declare abstract class TdSeriesDirective implements ITdSeries, OnChanges, OnInit, OnDestroy {
protected optionsService: TdChartOptionsService;
private _type;
get type(): string;
_state: any;
_options: any;
config?: any;
id?: string;
name?: string;
color?: string;
data?: any[];
animation?: boolean;
animationThreshold?: number;
animationDuration?: number | Function;
animationEasing?: string;
animationDelay?: number | Function;
animationDurationUpdate?: number | Function;
animationEasingUpdate?: string;
animationDelayUpdate?: number | Function;
tooltip?: ITdSeriesTooltip;
constructor(type: string, optionsService: TdChartOptionsService);
ngOnInit(): void;
ngOnChanges(): void;
ngOnDestroy(): void;
setStateOption(option: string, value: any): void;
removeStateOption(option: string): void;
abstract getConfig(): any;
private _setOptions;
private _removeOption;
static ɵfac: i0.ɵɵFactoryDeclaration<TdSeriesDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TdSeriesDirective, never, never, { "config": "config"; "id": "id"; "name": "name"; "color": "color"; "data": "data"; "animation": "animation"; "animationThreshold": "animationThreshold"; "animationDuration": "animationDuration"; "animationEasing": "animationEasing"; "animationDelay": "animationDelay"; "animationDurationUpdate": "animationDurationUpdate"; "animationEasingUpdate": "animationEasingUpdate"; "animationDelayUpdate": "animationDelayUpdate"; "tooltip": "tooltip"; }, {}, never, never, false, never>;
}