interactively reposition (drag) column chart plot band

2 posts, 0 answers
  1. Derek
    Derek avatar
    12 posts
    Member since:
    Jan 2011

    Posted 09 Apr 2015 Link to this post


    I would like to allow my user to click on a horizontal line in a column chart and drag the line up/down.  I can render a horizontal line using a plot band and can see how to dynamically reposition the line in this example (dynaimic plot bands).

    ​But I don't know how to convert the mouse position to a Y axis value.  Are there any utility functions to convert from mouse coordinates to plot coordinates or axis values? 

    I would appreciate any advice as to how to achieve this functionality of dragging a line in a chart.  Many thanks.


  2. T. Tsonev
    T. Tsonev avatar
    2817 posts

    Posted 13 Apr 2015 Link to this post


    Obtaining the value from event coordinates is possible, but currently requires using internal methods.

    We're bringing up some of them as part of the official API. We'll have this scenario in mind as well.

    T. Tsonev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top