How can I know the pixel position of a chart point?

2 posts, 0 answers
  1. Lei
    Lei  avatar
    1 posts
    Member since:
    Jan 2009

    Posted 01 Feb 2012 Link to this post

    For example, I have a line chart with a data series. How can I know the pixel position relateve to the left-top of chart control of a data point in chart?

  2. Nikolay
    Nikolay avatar
    385 posts

    Posted 06 Feb 2012 Link to this post

    Hi Lei,

    There are two methods used for such scenarios - ConvertDataUnitsToPhysical and ConvertPhysicalUnitsToData . You can find an example in this help topic, the only difference being that in your case you would need to use ConvertDataUnitsToPhysical instead.

    Hope this helps.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top