Jump to content
Software FX Community

MouseMove


dotnetclassic

Recommended Posts

 hi

I am using OpenHighLowClose Gallery type And i want to show Open, High, Low, Close, Date values on status bar on mouse move. How i can do this???

When i am using following code then it showing me dates values like 1/1/1900 But perfect in Lines Graph

 Private Sub Chart1_MouseMove(ByVal sender As Object, ByVal e As ChartFX.WinForms.HitTestEventArgs) Handles Chart1.MouseMove   Dim Value As Decimal = Math.Round(Val(Chart1.AxisY.PixelToValue(e.Y).ToString()), 2)   Dim mdate As Date = DateTime.FromOADate(CDbl(Chart1.AxisX.PixelToValue(e.X).ToString()))   ToolStripStatusLabel1.Text = mdate.Date & ", " & Value   End Sub

Please give me sample to show all values????

Thanx

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...