UNPKG

tsiclient

Version:

<a href="https://tsiclientsample.azurewebsites.net"><img src="https://insights.timeseries.azure.com/favicons/android-chrome-192x192.png" align="left" hspace="10" vspace="6" height="100px"></a>

25 lines (24 loc) 1 kB
import HistoryPlayback from "./index-3a278a11"; import { GraphicInfo } from "./index-3a278a11"; import TsqExpression from "./TsqExpression"; declare class ProcessGraphic extends HistoryPlayback { private graphicSrc; constructor(renderTarget: Element); render(environmentFqdn: string, getToken: () => Promise<string>, graphicSrc: string, data: Array<TsqExpression>, chartOptions: any): void; protected loadResources(): Promise<GraphicInfo>; protected draw(): void; private getResizedImageDimensions; protected getDataPoints(results: Array<IProcessGraphicLabelInfo>): void; protected updateDataMarkers(graphicValues: Array<IProcessGraphicLabelInfo>): void; protected parseTsqResponse(response: any): any; protected sanitizeAttribute(str: any): string; } interface IProcessGraphicLabelInfo { value: number; alias: string; x: number; y: number; color: string; onClick: Function; } export { ProcessGraphic as default };