Skip to content

Commit

Permalink
Reduce min height of bars (#12)
Browse files Browse the repository at this point in the history
Increase speed of bars height resizing at zoom
  • Loading branch information
DimaNaumov authored and ignatvilesov committed Aug 25, 2017
1 parent 46d4e2e commit 874b11c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.1.1
* Reduce min height of bars
* Increase speed of bars height resizing at zoom

## 2.1.0
* Bars and heats have dynamic size, depends on the zoom level
* Building coordinates only by longitude and latitude fields
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "powerbi-visuals-globemap",
"description": "GlobeMap",
"version": "2.1.0",
"version": "2.1.1",
"author": {
"name": "Microsoft",
"email": "[email protected]"
Expand Down
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": "GlobeMap",
"guid": "GlobeMap1447669447625",
"visualClassName": "GlobeMap",
"version": "2.1.0",
"version": "2.1.1",
"description": "A 3D visual using WebGL for plotting locations, with category values displayed as bar heights and heat maps.\n\nShift+Click on bar to change center point. \nSlicing data points will animate to average location.\n\nAttributions:\nthree.js - https://github.com/mrdoob/three.js/\nwebgl-heatmap - https://github.com/pyalot/webgl-heatmap",
"supportUrl": "https://aka.ms/customvisualscommunity",
"gitHubUrl": "https://github.com/Microsoft/powerbi-visuals-globemap"
Expand Down
4 changes: 2 additions & 2 deletions src/globemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ module powerbi.extensibility.visual {
maxBarWidth: 0.3,
barWidthScaleOnZoom: 0.9,
barHeight: 5,
minBarHeight: 0.9,
minBarHeight: 0.75,
maxBarHeight: 5,
barHeightScaleOnZoom: 0.95,
barHeightScaleOnZoom: 0.9,
rotateSpeed: 0.5,
zoomSpeed: 0.8,
cameraAnimDuration: 1000, // ms
Expand Down

0 comments on commit 874b11c

Please sign in to comment.