<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Display Y Axis Point Value On MouseOver</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Chart Control : Display Y Axis Point Value On MouseOver]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 14:47:56 +0000</pubDate>
  <lastBuildDate>Fri, 07 Dec 2012 10:38:07 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=20399</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Display Y Axis Point Value On MouseOver : Figured out the answer to my own...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20399&amp;PID=69380&amp;title=display-y-axis-point-value-on-mouseover#69380</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6822">SeatTrax</a><br /><strong>Subject:</strong> 20399<br /><strong>Posted:</strong> 07 December 2012 at 10:38am<br /><br />Figured out the answer to my own dilemma&nbsp;<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /><br><br>Wish the CodeJock example code was a bit more detailed tho!<br><br>Private Sub ChartControl_MouseMove(Button As Integer, Shift As Integer, x As Long, y As Long)<br>&nbsp;&nbsp;&nbsp; Dim Element As ChartElement<br>&nbsp;&nbsp;&nbsp; Set Element = ChartControl.HitTest(x, y)<br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If TypeOf Element Is XtremeChartControl.ChartSeriesPoint Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Point As ChartSeriesPoint<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; On Error Resume Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Point = Element<br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (Not Point Is Nothing) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ChartControl.ToolTipText = Point.Value(0)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp; <br>End Sub<br><br>]]>
   </description>
   <pubDate>Fri, 07 Dec 2012 10:38:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20399&amp;PID=69380&amp;title=display-y-axis-point-value-on-mouseover#69380</guid>
  </item> 
  <item>
   <title><![CDATA[Display Y Axis Point Value On MouseOver : In our ChartSplineSeriesStyle...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20399&amp;PID=69374&amp;title=display-y-axis-point-value-on-mouseover#69374</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6822">SeatTrax</a><br /><strong>Subject:</strong> 20399<br /><strong>Posted:</strong> 06 December 2012 at 6:13pm<br /><br />In our ChartSplineSeriesStyle charts, we don't like the look of the labels on the points, and always set Style.Label.Visible = False.<br><br>Now we have a customer that has asked if we can display the Y Axis point value when they mouse over the point.<br><br>I looked through the development forums, and didn't find any mention of a mouse over method, and the only thing I could find in the codejock sample chart programs was the following sub routine in ChartSample.vbp, but it writes the point value to the immediate window, and we want it to display above the point, when the point is mouse over'd.<br><br>Private Sub ChartControl_MouseMove(Button As Integer, Shift As Integer, x As Long, y As Long)<br>&nbsp;&nbsp;&nbsp; Dim Element As ChartElement<br>&nbsp;&nbsp;&nbsp; Set Element = ChartControl.HitTest(x, y)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If TypeOf Element Is XtremeChartControl.ChartSeriesPoint Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Point As ChartSeriesPoint<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; On Error Resume Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Point = Element<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (Not Point Is Nothing) Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print "Point " &amp; Point.Value(0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; <br>End Sub<br><br>Is is possible to add this functionality w/ the existing Chart Control?<br>]]>
   </description>
   <pubDate>Thu, 06 Dec 2012 18:13:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20399&amp;PID=69374&amp;title=display-y-axis-point-value-on-mouseover#69374</guid>
  </item> 
 </channel>
</rss>