none
Changing the rendering Gantt charts RRS feed

  • Question

  • Good day.
    Is it possible to modify the Gantt chart:
    - Display the additional records
    - Make the gradient segments
    Ie generally take full control of the whole drawing?
    Project 2007/2010, Visual Studio 2010, VSTO
    Thanks in advance.
    Monday, June 27, 2011 6:37 AM

All replies

  • You have pretty granular control of the display through the object model. The Application.GanttBarFormat method will let you do basically anything you can do to the UI. there are several methods that start with GanttBar... that each do a specific thing.

     

    Im not sure what you mean when you say 'display the addition records' that would depend on what recoreds you mean.

     


    Brian Kennemer – DeltaBahn Senior Architect
    Blog | Twitter | LinkedIn
    Wednesday, July 20, 2011 11:16 PM
    Moderator
  • Hi To start with.... Have a look at the VBA below

    Sub GanttFormat()
    
    GanttBarFormat TaskID:=4, StartShape:=pjDiamond, StartType:=pjSolid, StartColor:=pjRed, MiddleColor:=pjGreen, EndShape:=pjSquare, EndColor:=pjYellow
    
    
    End Sub
    
    

    Hope this helps


    Thanks, Parth
    Friday, July 22, 2011 5:43 AM