Skip to content

Commit

Permalink
verification with latest pbiviz tools
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkp committed Nov 10, 2017
1 parent e350dd9 commit 9a64f17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pbiviz.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"displayName": "Heatmap",
"guid": "PBI_CV_FCF70EF9_270E_4A52_913E_345CC4A8BFBA",
"visualClassName": "Visual",
"version": "3.0.0",
"version": "3.0.1",
"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.",
"supportUrl": "http://powerbi.sjkp.dk/support",
"gitHubUrl": "https://github.com/sjkp/heatmap"
Expand Down
2 changes: 1 addition & 1 deletion src/visual.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ module powerbi.extensibility.visual {
var img = new Image();
var self = this;
img.onload = function () {
self.updateCanvasSize(this.width, this.height);
self.updateCanvasSize((<HTMLImageElement>this).width, (<HTMLImageElement>this).height);
//HeatMapChart.setFieldNumber(self.dataView, 'settings', 'maxWidth', this.width);
//HeatMapChart.setFieldNumber(self.dataView, 'settings', 'maxHeight', this.height);
self.redrawCanvas();
Expand Down

0 comments on commit 9a64f17

Please sign in to comment.