Skip to content

Commit b15ab74

Browse files
EugeneElkinignatvilesov
authored andcommitted
Completion line issue was fixed (#127)
1 parent e13c412 commit b15ab74

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 1.14.2
2+
* Fixed bug when completion line overlap day off periods in some cases
3+
14
## 1.14.1
25
* Fixed bug with wrongly positioned "group expand/collapse" icon when horizontal scrolling is presented and the icon now has fixed horizontal position as for single "expand/collapse" icons
36
* Fixed bug with broken removing of some important selectors

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerbi-visuals-gantt",
3-
"version": "1.14.1",
3+
"version": "1.14.2",
44
"description": "A Gantt chart is a type of bar chart which illustrates a project timeline or schedule. The Gantt Chart visual shows the Tasks, Start Dates, Durations, % Complete, and Resources for a project. The Gantt Chart visual can be used to show current schedule status using percent-complete shadings and a vertical \"TODAY\" line. The Legend may be used to group or filter tasks based upon data values.",
55
"repository": {
66
"type": "git",

pbiviz.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"visual": {
33
"name": "Gantt",
4-
"displayName": "Gantt 1.14.1",
4+
"displayName": "Gantt 1.14.2",
55
"guid": "Gantt1448688115699",
66
"visualClassName": "Gantt",
7-
"version": "1.14.1",
7+
"version": "1.14.2",
88
"description": "A Gantt chart is a type of bar chart which illustrates a project timeline or schedule. The Gantt Chart visual shows the Tasks, Start Dates, Durations, % Complete, and Resources for a project. The Gantt Chart visual can be used to show current schedule status using percent-complete shadings and a vertical \"TODAY\" line. The Legend may be used to group or filter tasks based upon data values.",
99
"supportUrl": "https://community.powerbi.com",
1010
"gitHubUrl": "https://github.com/Microsoft/powerbi-visuals-gantt"

src/gantt.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1792,6 +1792,10 @@ module powerbi.extensibility.visual {
17921792
const taskDaysOffColor: string = this.viewModel.settings.daysOff.fill;
17931793
const taskDaysOffShow: boolean = this.viewModel.settings.daysOff.show;
17941794

1795+
taskSelection
1796+
.selectAll(Selectors.TaskDaysOff.selectorName)
1797+
.remove();
1798+
17951799
if (taskDaysOffShow) {
17961800
let tasksDaysOff: UpdateSelection<TaskDaysOff> = taskSelection
17971801
.selectAll(Selectors.TaskDaysOff.selectorName)
@@ -1833,11 +1837,6 @@ module powerbi.extensibility.visual {
18331837
tasksDaysOff
18341838
.exit()
18351839
.remove();
1836-
1837-
} else {
1838-
taskSelection
1839-
.selectAll(Selectors.TaskDaysOff.selectorName)
1840-
.remove();
18411840
}
18421841
}
18431842

0 commit comments

Comments
 (0)