Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1100
higlight gantt chart items
posted

I need to have more control over the rendering of Gantt chart items.

I am creating PaintElements to set the fill and stroke colors - with great success.

 

What I need to do, is have the item drawn with stroke's on the top and bottom edges, but not on the left or right edges.

 

How can I accomplish this?

 

Thanks

  • 26458
    Suggested Answer
    Offline posted

    As far as I know, there's nothing in System.Drawing namespace that will let you set different edge colors on a rectangle, so this won't be too easy to do. You'll basically have to use your imagination here. First thing that comes to mind in overlaying lines on the rectangles that represent the gantt chart boxes.