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
785
set thickness of bar in gantt?
posted

Does anyone happen to know if there is a way to set the thickness of the bars of a gantt chart?
If I hard-code the height of the chart to a size large enough, the bars widen, making the labels readable, but this results in me having to frequestly re-hard-code the height as the total number of items increases and decreases, to maintain a consistant appearance.     What I would expect to be able to do is set height to "100%", that way the chart would dynamiclly resize, as items are removed/added to the underlying data.    This, however, results in very thin bars, yeilding unreadable text.    Any thoughts, ideas, or suggestions would be appreciated.
The first pic is with height set to 100%.
The second pic is with height hard-coded, which I would have to maintain.

 

 

Parents
  • 6748
    Verified Answer
    posted

    Hello Gary,

     

    I checked your question with our development team, and I found out that the height in percents is not supported for the charts in asp.net because, in order the image to be generated, it is necessary the height to be a defined number. So it seems that it is necessary to hardcode the height, in order to adjust the proper thickness of the bars.

     

    Regards,

    Lyuba Petrova

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

     

     

Reply Children