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>

76 lines (75 loc) 2.59 kB
import { ChartComponent } from "./ChartComponent-837ef9b4"; import { ChartComponentData } from "./ChartComponentData-cfbea0e5"; import { TemporalXAxisComponent } from "./TemporalXAxisComponent-852ce075"; declare class HeatmapCanvas extends ChartComponent { private heatmapData; private canvas; private ctx; private height; private rawCellWidth; private cellWidthMod; private rawCellHeight; private cellHeightMod; private colorLegend; private colorScale; private gradientWidth; private aggKey; private focusedXIndex; private focusedYIndex; private focusedText; private highlightedSplitBy; private highlightedTime; private highlightedValue; private onCellFocus; private aggI; private isOnlyAgg; constructor(renderTarget: any); private renderScale; private getExtent; render(data: any, chartOptions: any, aggKey: any, highlightedSplitBy: string, highlightedTime: Date, onCellFocus: any, aggI: number, isOnlyAgg: boolean): void; private calcCellXIndex; private calcCellYIndex; private calcCellHeight; private calcCellX; private calcCellWidth; private calcCellY; private drawCell; } declare class HeatmapData { chartComponentData: ChartComponentData; visibleSBs: Array<any>; timeStamps: Array<Date>; colorScale: any; from: Date; to: Date; bucketSize: number; timeValues: any; aggKey: string; numRows: number; numCols: number; allValues: Array<any>; constructor(chartComponentData: ChartComponentData, aggKey: string); private adjustStartTime; private createTimeValues; } declare class Heatmap extends TemporalXAxisComponent { private lineHeight; private splitByLabelWidth; private heatmapWrapper; private splitByLabels; private heatmapCanvasMap; private timeLabels; private height; private timeLabelsHeight; private visibleAggs; constructor(renderTarget: Element); private focusOnEllipsis; private createControlsPanel; private chartControlsExist; private addTimeLabels; mouseover: (hoveredAggKey: any, hoveredSplitBy: any) => void; mouseout: (selection: any, hoveredAggKey: any) => void; render(data: any, chartOptions: any, aggregateExpressionOptions: any): void; renderTimeLabels: (focusStartTime: any, focusEndTime: any, focusX1: any, focusX2: any, focusY: any, yOffset: any, shiftMillis: any) => void; } export { HeatmapCanvas as default, HeatmapData };