We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Height of bars in gantt chart

Thread ID:





72907 Apr 10,2008 10:31 AM Apr 18,2008 08:45 PM Windows Forms 2
Tags: Chart
Asked On April 10, 2008 10:31 AM

Hi all,

Is it possible to set the height of bars in a gantt chart to some user-defined value? thx

Replied On April 14, 2008 08:01 AM


Vinoth Kumar K [Syncfusion]
Replied On April 18, 2008 08:45 PM

Hi JohnFish,

Thank you for your interest in Syncfusion products.

There is no build-in support to change the height of bars in a gantt chart. One way you can achieve this by increase the border width of the series and set the border color to chart series color. Please refer to the code snippet given below:

this.chartControl1.Series[0].Style.Border.Width = 10;
this.chartControl1.Series[0].Style.Border.Color = this.chartControl1.Series[0].BackColor;

Please let me know if this helps.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.