I'm using UltraWebCharts to plot Gantt chart in my Web form.
1.I want to give user interactions in Gantt chart where user can select a time range on x-axis just like we do in outlook. Is it possible?
2. Able to give scroll bar on x axis but its not working. How can I make it working? Is there property need to set?
Hello Harjot,
After further investigation, the Gantt chart is limited to only one scrollbar, which is on the y axis.
What I can recommend is logging a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at https://ko.infragistics.com/community/ideas.
Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details.
A possible workaround is to increase the width of the chart and place it in a scrollable DIV to create a similar scrolling effect. I have created an attached a small sample for your reference.
0675.GanttChart.zip
Hello Monika,
As you said size of bars are resized automatically in order in order to fit inside the container.
So, I provided Date range for 500 days, but still scroll bar is not working, x axis grid lines are almost overlapping eachother in order to fit inside a scroll window.
Neither scrollbar is working nor data is visible properly
How to proceed?
Please guide me if I'm taking a wrong approach.
User interactions are not supported by Charts in Windows Forms either. The charts are used in order to visually represent data.
Regarding the horizontal scrollbar, I determined that the scrollbar depends on the amount of data displayed in the chart. The chart is automatically resizing the bars, in order to fit them in the container. When the data no longer could fit in the container a scrollbar would be displayed.
If the data is not fully visible and scrollbar is still not displayed, could you please provide a small runnable isolated sample that reproduces the issue.
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
Hi Monika,
Thank you for your reply.
1.Are user interactions possible on Windows forms control?2. Please let me know if you find solution for horizontal scrollbar.
After investigating this further, I determined that the Gantt chart does not support user interactions.
Additionally, setting scrollbar on the Gantt chart could be achieved by setting the EnableScrollBar property to true. However, the scrollbar which is displayed is the vertical one. I am currently looking into enabling the horizontal scrollbar. I will keep you posted on my progress and I will get back to you soon with more information or questions for you.