gantt chart scale [duplicate]
-
10-12-2019 - |
Question
Is there a way to change the gantt chart scale? to something other than days
I would like to use it to monitor active contracts but I need a year based not just days (or it gets to big to see)
Solution
A Gantt chart can be scalled up and down by using the ribbon.
You can also use JavaScript to do this and scale down the chart when loading the chart,
Add a Script Editor WebPart or Content Editor WebPart and use code like this
<script src="indicate jquery.js location here" type="text/javascript">
$(function(){
setTimeout(function(){
for (var i = 0; i < 3; ++i) WebPartWPQ2_JSGridController.ZoomOutGantt()
}, 2000)
})
</script>
The script zooms out the Gantt view 3 times from default to achieve the month scale view.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange