Jump to content
Software FX Community

Mouseclick on a chart and getting the X value of the point


Bob

Recommended Posts

Greetings,

 I have a line chart that has a stack of values plotted where the Y axis uses numeric values and the X axis is time ...

I want my users to click anywhere on the graph and get the X axis value .. i.e. 10:45am ... I intend to use this value to comment on parts of my graph.

By using the "MouseClick" event I can get the "value" property which is the opposite of what I want as it returns the Y axis value I want the X axis value .

The dream being a user clicks on the graph .. and I pop up a dialog box for them to enter some text and I have the X value from the mouse click.

 How can I get my X axis value (and not the x and y pixel values which are useless)

cheers.

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...