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?
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
Hello Monika,
I have few more queries:
1. Is it possible to give different font color to every label on y axis?
2. Can we provide tooltip for y axis label?
Thanks
Thanks for the suggestion.
I tried giving series spacing but it is not making any effect on bar thickness.
Whenever I enable scroll, bars size is getting doubled.
1. I want to fix the number of bars shown in one scroll window and height of each bar should be fixed and total count can come dynamically
2. currently data in Y axis is displayed from bottom to top, I want first entry in Gantt item should be displayed on top and so on.
Please guide how to proceed.