This is a migrated thread and some comments may be shown as answers.

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

3 Answers 117 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lex
Top achievements
Rank 1
Lex asked on 16 Feb 2013, 07:57 AM
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!

3 Answers, 1 is accepted

Sort by
0
Missing User
answered on 20 Feb 2013, 04:50 PM
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.
0
Lex
Top achievements
Rank 1
answered on 21 Feb 2013, 02:43 PM
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!
0
Jack
Telerik team
answered on 26 Feb 2013, 09:23 AM
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.
Tags
Chart (obsolete as of Q1 2013)
Asked by
Lex
Top achievements
Rank 1
Answers by
Missing User
Lex
Top achievements
Rank 1
Jack
Telerik team
Share this question
or