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

chart data source

1 Answer 46 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.
M
Top achievements
Rank 1
M asked on 11 May 2013, 03:30 PM
hi.i want to my telerik chart use a text file as database.i mean when user drag and drop a text file on my telerik chart, the chart reform as that txt file's data.how can i do that?

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Kirov
Telerik team
answered on 15 May 2013, 12:59 PM
Hi,

You can attach to the DragDrop and/or DragEnter events of the control so you can get information about the file that is currently being dropped on it. You can use this information to open the file, read the data from it, convert it to a data source that the chart can read (e.g. generic list of objects) and finally bind the chart accordingly. For more information on data binding, please check this help topic.

I hope this helps.
 

Regards,
Petar Kirov
the Telerik team
RadChart for WinForms is obsolete. Now what?
Tags
Chart (obsolete as of Q1 2013)
Asked by
M
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Share this question
or