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)

Was it helpful?

Solution

A Gantt chart can be scalled up and down by using the ribbon.

Scall up and down

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.

By Month

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top