How to change data in Gantt chart manually, in runtime?

4 posts, 0 answers
  1. Lex
    Lex avatar
    2 posts
    Member since:
    Aug 2010

    Posted 16 Feb 2013 Link to this post

    Hi,

    I've read the posts of the past 3 years, but couldn't find an answer to my question.
    I have a Gantt chart that displays timespan information. The data structure is quite simple:
    string Name;
    double FromDate;
    double ToDate;

    I'd like the timespans to be manually changed by dragging beginning or the end of the Gantt data item. This change then should be reflected in the underlying data.

    I tried to use BindlingList<MyObject> as the DataSource, but the problem is that I can't change the data on the chart.

    Can you please help me out with this?

    Thanks!
  2. Missing user
    Missing user avatar

    Posted 20 Feb 2013 Link to this post

    Hi Lex,

    At runtime, RadChart is just an image that doesn't offer interactivity beyond the basics provided by a standard image in .NET Framework. Therefore, manipulating individual items inside RadChart is not supported.

    In addition, for future projects you should consider using the new RadChartView for WinForms instead of RadChart where applicable. RadChartView supercedes the now obsolete RadChart. For a more detailed comparison between the two, please check out this help topic.

    Kind regards,
    Ivan N.
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Lex
    Lex avatar
    2 posts
    Member since:
    Aug 2010

    Posted 21 Feb 2013 Link to this post

    Hi Ivan,

    Thanks for the clarification.
    Just a few more questions:
    - Does RadChartView support user interaction? I didn't see any information regarding this in the provided link.
    - Also, according to that comparison, RadChartView doesn't support Gantt chart. Is it still the case, or that table is out-of-date?

    Thanks!
  5. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 26 Feb 2013 Link to this post

    Hi Lex,

    Directly to your questions:

    - Yes, RadChartView supports user interactions and allows customizing its behavior by adding different controllers. Consider the Features section for RadChartView in our online documentation. Starting from Q3 2012 RadChartView supports also multi touch events.
    - The described table is up-to-date and currently RadChartView does not support Gantt charts. 

    We will be glad to help if you have further questions.

    Kind regards,
    Jack
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Back to Top