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
155
set the thickness of bar in gantt chart when vertical scroll is enabled
posted

I'm using UltraWebChart for plotting Gantt chart

For y axis I have set the

RangeType="Custom"

RangeMin="0"

RangeMax="5"

using this thickness of each bar is fixed  even if I'm plotting only one Gantt Item.

But the above solution works only in case when vertical scroll is disabled.

Enabling the vertical scroll is increasing the thickness for the bar.

In my use case, I want to set RangeType to automatic (because data is dynamic) and fix the no. of gantt items to be displayed in one scroll window and also the height of each bar,

Is it possible?

Parents
  • 1320
    Offline posted

    Hello Harjot,

    After investigating this further, I determined that your requirement could be achieved by setting the SeriesSpacing property of the Gantt Chart:

    <igchart:UltraChart ID="UltraChart1" runat="server" GanttChart-SeriesSpacing="2" EnableScrollBar="True" EmptyChartText="Data Not Available. Please call UltraChart.Data.DataBind() after setting valid Data.DataSource" Version="20.1" BackgroundImageFileName="" ChartType="GanttChart">

    By setting an integer to this property, the passed value would be set as space between each series and would change the height of each item.

    Please test it on your side and let me know if you need any further information regarding this matter.

    Please note that due to the upcoming Christmas holidays you may experience slight delay in support responses.

    Thank you for your understanding!

    Regards,
    Monika Kirkova,
    Infragistics

Reply Children