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
335
Datapoint and Series on Hittest?
posted

Hi,

Following the samples in your Online Docs I have been able to retrieve the values for my Datapoints using the Hittest method.

How can I get the series that the datapoint value comes from? If I have 4 series, how can I get the series number from the HitTest method if I clicked on, say , datapoint 3 on the 2nd series? Is this possible?

Thanks in Advance,

 

 

 

  • 335
    posted

    Nevermind, I found it, unless there is a better way:

    dim Test as HitTestArgs = chart.HitTest(e)

    messagebox Test.SeriesIndex  <---