Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Chart Control
  New Posts New Posts RSS Feed - Series from Point
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Series from Point

 Post Reply Post Reply
Author
Message
sined View Drop Down
Newbie
Newbie


Joined: 13 July 2010
Location: Italy
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote sined Quote  Post ReplyReply Direct Link To This Post Topic: Series from Point
    Posted: 15 September 2011 at 7:07am
Hello,
with a very simple code we can identify a point on graph:
 
Private Sub ChartControl_MouseMove(Button As Integer, Shift As Integer, x As Long, y As Long)
    Dim Element As ChartElement
    Set Element = ChartControl.HitTest(x, y)
       
    Dim Point As ChartSeriesPoint
    On Error Resume Next
    Set Point = Element
    If (Not Point Is Nothing) Then
        beep
    End If
  
End Sub
 
 
How can I identify the series who belongs this point?
 
Thanks Mirko
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.109 seconds.