UNPKG

958 BTypeScriptView Raw
1import { H as HistoryPlayback, T as TsqExpression, G as GraphicInfo } from './HistoryPlayback-fe4b7977';
2
3declare class ProcessGraphic extends HistoryPlayback {
4 private graphicSrc;
5 constructor(renderTarget: Element);
6 render(environmentFqdn: string, getToken: () => Promise<string>, graphicSrc: string, data: Array<TsqExpression>, chartOptions: any): void;
7 protected loadResources(): Promise<GraphicInfo>;
8 protected draw(): void;
9 private getResizedImageDimensions;
10 protected getDataPoints(results: Array<IProcessGraphicLabelInfo>): void;
11 protected updateDataMarkers(graphicValues: Array<IProcessGraphicLabelInfo>): void;
12 protected parseTsqResponse(response: any): any;
13 protected sanitizeAttribute(str: any): string;
14}
15interface IProcessGraphicLabelInfo {
16 value: number;
17 alias: string;
18 x: number;
19 y: number;
20 color: string;
21 onClick: Function;
22}
23
24export { ProcessGraphic as P };