Add data point on click event

2 posts, 0 answers
  1. Bárbara
    Bárbara avatar
    16 posts
    Member since:
    Nov 2015

    Posted 18 Nov 2015 Link to this post

    Hi all,

    When the user clicks somewhere on the chart area I need to be able to add a data point there. 

    I didn't find anything like that on the documentation but I was wondering if there is at least a work around for this, this is really important for my application.



  2. Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 19 Nov 2015 Link to this post

    Hello Bárbara,

    You can use the conversion api of the chart, namely the ConvertPointToData method to find out the horizontal and vertical axes where the user has clicked. Then you can simply create your business item and add it to your items source.

    Petar Marchev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top