Skip to content

Commit 9a64f17

Browse files
committed
verification with latest pbiviz tools
1 parent e350dd9 commit 9a64f17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pbiviz.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Heatmap",
55
"guid": "PBI_CV_FCF70EF9_270E_4A52_913E_345CC4A8BFBA",
66
"visualClassName": "Visual",
7-
"version": "3.0.0",
7+
"version": "3.0.1",
88
"description": "The Heatmap Visual enables users to draw a heatmap overlay from a X, Y coordinate set on to an existing image. The user specify the image, and provide a data set of X, Y coordinates and optionally an intensity for each data point. The radius and the bluriness of the heatmap bubbles can be customized as well as the max value for the intensity.",
99
"supportUrl": "http://powerbi.sjkp.dk/support",
1010
"gitHubUrl": "https://github.com/sjkp/heatmap"

src/visual.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ module powerbi.extensibility.visual {
405405
var img = new Image();
406406
var self = this;
407407
img.onload = function () {
408-
self.updateCanvasSize(this.width, this.height);
408+
self.updateCanvasSize((<HTMLImageElement>this).width, (<HTMLImageElement>this).height);
409409
//HeatMapChart.setFieldNumber(self.dataView, 'settings', 'maxWidth', this.width);
410410
//HeatMapChart.setFieldNumber(self.dataView, 'settings', 'maxHeight', this.height);
411411
self.redrawCanvas();

0 commit comments

Comments
 (0)