Skip to content

Commit b31d1e5

Browse files
vtkalekignatvilesov
authored andcommitted
fix for #20329 X-Axis displayes in the center of visual (#10)
1 parent b9cad59 commit b31d1e5

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.1.2
2+
* Fix for "X-Axis label displayes in the center of visual"
3+
14
## 1.1.1
25
* Add an option to use vertical orientation of labels
36

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerbi-visuals-dotplot",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "A dot plot is used to show a representation of the distribution of frequencies. It is most often used to show counts of an occurrence.",
55
"repository": {
66
"type": "git",

pbiviz.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Dot Plot",
55
"guid": "DotPlot1442374105856",
66
"visualClassName": "DotPlot",
7-
"version": "1.1.1",
7+
"version": "1.1.2",
88
"description": "A dot plot is used to show a representation of the distribution of frequencies. It is most often used to show counts of an occurrence.",
99
"supportUrl": "http://community.powerbi.com",
1010
"gitHubUrl": "https://github.com/Microsoft/powerbi-visuals-dotplot"

src/visual.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ module powerbi.extensibility.visual {
777777
"class": DotPlot.XAxisLabelSelector.className,
778778
"transform": translate(
779779
this.dataViewport.width / DotPlot.XAxisSeparator - titleWidth / DotPlot.XAxisSeparator,
780-
this.data.maxXAxisHeight - this.data.categoryLabelHeight + DotPlot.XAxisLabelOffset - this.data.settings.maxLabelWidth)
780+
this.data.maxXAxisHeight - this.data.categoryLabelHeight + DotPlot.XAxisLabelOffset)
781781
});
782782
}
783783
}

0 commit comments

Comments
 (0)