chart data source

Thread is closed for posting
2 posts, 1 answers
  1. M
    M avatar
    2 posts
    Member since:
    Feb 2013

    Posted 11 May 2013 Link to this post

    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 can i do that?
  2. Answer
    Petar Kirov
    Petar Kirov avatar
    425 posts

    Posted 15 May 2013 Link to this post


    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.

    Petar Kirov
    the Telerik team
    RadChart for WinForms is obsolete. Now what?
Back to Top