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
540
Height of a gantt-serie
posted

 Hi, I've been looking but can't find a way to change the height of one specific serie of a gantt-chart. I need this because the text displayed inside of it is lager than in other series ...

 

Is there a way to control this ?

 

Thanks,

Wim

  • 28496
    Offline posted

     if you handle the ChartDrawItem event, you can check for when e.Primitive is a Box and then expand the bounds using the Box.rect field.  however, the rest of the chart will not expand as a result.  if you set the GanttChart.ItemSpacing high enough then that shouldn't be an issue.

  • 540
    Offline posted
    Any thoughts yet ? Thanks, Wim