Skip to content

Commit 8796de5

Browse files
savvinsergeyignatvilesov
authored andcommitted
Added an ability to highlight and ignore weekends (#43)
* Added an ability to highlight and ignore weekends
1 parent 1d17303 commit 8796de5

File tree

9 files changed

+370
-14
lines changed

9 files changed

+370
-14
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## 1.7.0
2+
* Added an ability to ignore weekends
13
## 1.6.0
24
* Added ability automatically scroll chart to today date
35
## 1.5.1

capabilities.json

+67
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,73 @@
254254
}
255255
}
256256
},
257+
"daysOff": {
258+
"displayName": "DaysOff",
259+
"displayNameKey": "Visual_DaysOff",
260+
"properties": {
261+
"show": {
262+
"displayName": "Show",
263+
"displayNameKey": "Visual_Show",
264+
"type": {
265+
"bool": true
266+
}
267+
},
268+
"fill": {
269+
"displayName": "Fill",
270+
"displayNameKey": "Visual_Fill",
271+
"type": {
272+
"fill": {
273+
"solid": {
274+
"color": true
275+
}
276+
}
277+
}
278+
},
279+
"firstDayOfWeek": {
280+
"displayName": "First Day of Week",
281+
"displayNameKey": "Visual_FirstDayOfWeek",
282+
"type": {
283+
"enumeration": [
284+
{
285+
"value": "0",
286+
"displayName": "Sunday",
287+
"displayNameKey": "Visual_Day_Sunday"
288+
},
289+
{
290+
"value": "1",
291+
"displayName": "Monday",
292+
"displayNameKey": "Visual_Day_Monday"
293+
},
294+
{
295+
"value": "2",
296+
"displayName": "Tuesday",
297+
"displayNameKey": "Visual_Day_Tuesday"
298+
},
299+
{
300+
"value": "3",
301+
"displayName": "Wednesday",
302+
"displayNameKey": "Visual_Day_Wednesday"
303+
},
304+
{
305+
"value": "4",
306+
"displayName": "Thursday",
307+
"displayNameKey": "Visual_Day_Thursday"
308+
},
309+
{
310+
"value": "5",
311+
"displayName": "Friday",
312+
"displayNameKey": "Visual_Day_Friday"
313+
},
314+
{
315+
"value": "6",
316+
"displayName": "Saturday",
317+
"displayNameKey": "Visual_Day_Saturday"
318+
}
319+
]
320+
}
321+
}
322+
}
323+
},
257324
"legend": {
258325
"displayName": "Legend",
259326
"displayNameKey": "Visual_Legend",

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.6.0",
3+
"version": "1.7.0",
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Gantt",
55
"guid": "Gantt1448688115699",
66
"visualClassName": "Gantt",
7-
"version": "1.6.0",
7+
"version": "1.7.0",
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": "http://community.powerbi.com",
1010
"gitHubUrl": "https://github.com/Microsoft/powerbi-visuals-gantt"

0 commit comments

Comments
 (0)