UNPKG

@carbon/charts

Version:
21 lines (20 loc) 717 B
import { Position } from '@carbon/utils-position'; import { Component } from '../component'; import { ChartModel } from '../../model/model'; import { RenderTypes } from '../../interfaces/enums'; export declare class Threshold extends Component { type: string; renderType: RenderTypes; label: any; positionService: Position; constructor(model: ChartModel, services: any); render(animate?: boolean): void; getFormattedValue(datum: any): any; appendThresholdLabel(): void; setThresholdLabelPosition({ event, datum }: { event: CustomEvent; datum: any; }): void; constructDatumObj(d: any, element: any): any; addEventListeners(): void; }