property Graph.CursorFromPoint (X as OLE_XPOS_PIXELS, Y as OLE_YPOS_PIXELS) as String
Returns information from the cursor position as a string, separated by new lines: x, y, and valueCategory.

TypeDescription
X as OLE_XPOS_PIXELS A single that specifies the current X location of the mouse pointer. The x values is always expressed in client coordinates. -1 indicates the current cursor position.
Y as OLE_YPOS_PIXELS A single that specifies the current Y location of the mouse pointer. The y values is always expressed in client coordinates. -1 indicates the current cursor position.
String A string expression that provides the following information in this order (each on a new line)
  1. x, indicates the X-axis coordinate of the cursor position. This value typically corresponds to a category position or chart unit along the horizontal axis
  2. y, indicates the Y-axis coordinate of the cursor position. This value represents the data value or position along the vertical axis relative to the chart’s current scale
  3. valueCategory, represents the value of the data point or category under the cursor. This may reflect the computed or interpolated value, depending on the chart type (for example, the value at the intersection of the cursor’s X position and a line serie)
The CursorFromPoint(X, Y) method returns a string with information from the specified cursor position, items separated by new lines (\r\n), in the following order: x, y, and valueCategory, indicating the X-axis position, Y-axis value, and value in the cursor’s category under the pointer. This property is typically used to determine the logical position of the pointer within the chart area, such as its corresponding X (category) and Y (value) coordinates, as well as the value in the category currently under the cursor. The ValueFromPoint(X, Y) method returns information from the specified cursor position as a string, with items separated by new lines (\r\n), in the following order: value, inner-values, inner-value index / inner-values count, percent, index-serie, index-category, representing the value, serie, and category under the pointer. Calling CursorFromPoint(-1, -1) returns the same information for the current pointer position, allowing real-time querying of the cursor without manually specifying coordinates. This property is commonly used together with event handlers such as MouseMove to display cursor-related information dynamically.