@alauda-fe/common
Version:
Alauda frontend team common codes.
32 lines (31 loc) • 1.42 kB
TypeScript
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { ContextChartService } from '../../chart.service';
import { ContextItem } from '../tooltip/tooltip.component';
import * as i0 from "@angular/core";
export declare class YPlotLinesComponent implements OnInit, OnDestroy {
readonly context: ContextChartService;
private readonly cdr;
value: ContextItem[];
value$: Observable<ContextItem[]>;
color: string;
dashType: 'solid' | 'dash';
width: number;
hide: boolean;
path: string;
circleValue: Array<{
color: string;
cx: number;
cy: number;
visibility: string;
name: string;
}>;
get dasharray(): number[];
get view(): import("../../types").ChartView;
private readonly destroy$$;
constructor(context: ContextChartService, cdr: ChangeDetectorRef);
ngOnInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<YPlotLinesComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<YPlotLinesComponent, "g[aclYPlotLines]", never, { "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "dashType": { "alias": "dashType"; "required": false; }; "width": { "alias": "width"; "required": false; }; "hide": { "alias": "hide"; "required": false; }; }, {}, never, never, false, never>;
}