Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
185
UltraChart - How to obtain x-axis value from ChartDataDoubleClicked event
posted

Hello, I am using a 2D Spline Chart and have my Y-axis showing data value, 1-100 and my x-axis shows time using just a double precision number starting at 0.  I am manually building the table from a couple data sources that are not databound.  I am using a ChartDataDoubleClicked event to detect when a user double clicks on a datapoint.  I then need to know that node's value and x-axis time.  

 

I understand getting the value is very easy, just double value = e->DataValue; But I can't find out at all how to grab the y-axis time i manually added for that specific node.  Is there a way of retrieving that?  I am using multiple lines (series) in this chart as well if that matters.  

 

Any help would be appreciated as to how to grab my x-axis value at that node when the event is fired.  Thanks!

Parents
No Data
Reply
  • 185
    posted

    Also, I have a question on how when using a 2D spline to show the graph up to the largest data value when using a series where one lines has values up to time 10 then another has values up to time 20, right now, it will only show up to time 10.  I would like to see up to the maximum (20 in this case) and just have the first line end and have no nodes for time 11-20.  Is this possible?

Children