Re: Getting values from the plots



1. have a look at the rangefrompoint method, it will return the object
underneath the cursor
2. extract the co-ordinates from the rangefrompoint method

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



"Lanzelot" <Lanzelot@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8ACB1916-CFF2-4A45-B90D-44C1FD3E2389@xxxxxxxxxxxxxxxx
> Hi, I think this is very likely possible, but i can't seem to find a
proper
> way to do it...
>
> I need to create a graph control that allows me to plot the graph from an
> array and after that allot me to click/drag on the graph to select a range
of
> X values on my scatterline plot.
>
> I've already got the graph plotted, and can use mouse_events to get the
> mouse up and mouse down to get the cursor positions on the graph.
> What I need to know:
>
> 1. How do I know which chart I have selected and on which series do I get
> the points from?
>
> 2. How can i select and get a point at a particular (x,y) coordinate
pointed
> to by the mouse cursor?
>
> Regards,
> Lance


.



Relevant Pages

  • Re: Is this an NP complete problem?
    ... Best regards, ... A graph G is a pair, where V is a set of vertexes, ... > We must all be aware that new maths is being created far faster than any one ... In one cut set, the lines are either red or yellow. ...
    (comp.theory)
  • Re: New doc starts on top edge of page?
    ... Thanks very much Jay - yet another tick box I hadn't noticed! ... Regards, ... >>I notice that when copying text from the web into Word for reformatting ... >>the cursor moves down to the proper position. ...
    (microsoft.public.word.application.errors)
  • Re: Strange behaviour of FOREACH (INFORMIX-4GL Version 7.30.HC4P1)
    ... While reading from the table 'tab1', after some processing, we also ... > Ravi wrote: ... >> cursor, it is not returning all the rows which satisfy the conditions. ... >> Regards, ...
    (comp.databases.informix)
  • Re: Getting values from the plots
    ... the rangefrompoint came about because it was used to grab the ... range from underneath the cursor point. ... Regards, ... >> The Microsoft Office Web Components Black Book with .NET ...
    (microsoft.public.office.developer.web.components)
  • Re: Help, why my usb host support usb mouse, but the mouse cursor doesnt be showed?
    ... Thank you very much, I have add this catolog, but the mouse cursor ... Best Regards ... that support hard-cursor ... lost some necessary catalog, please help to know what catalog I must add ...
    (microsoft.public.windowsce.platbuilder)