Add Click Event Handling to Codejock Plots |
Post Reply |
Author | |
rhymes
Newbie Joined: 20 August 2010 Location: United States Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 22 January 2013 at 1:52pm |
It will be nice to click anywhere on a chart display area and retrieve the nearest chart data point. Getting an event that can return the data point; or if a developer can pass an (x, y) position to a HitTest function to retrieve the nearest data point. Something...
Also be nice to add a progress-line on a line chart, click and hold, and slide it back and forward on the chart with a mouse movement. Similar to the CXTPTrackControl Cursor. |
|
Rhymes
|
|
BLW
Groupie Joined: 20 June 2013 Location: Florida, USA Status: Offline Points: 13 |
Post Options
Thanks(1)
|
I'm looking to do very similar things with my graphs. I did find that there is a function HitTest() which can be used to get the area of the graph selected. They have an example of this that is used to modify the graph titles. It works just as well when you click on a graph series point. I'm using it as a method of selecting a chart element so that I can give more information about that data point.
I'm looking to do a limit drag-drop operation on my graph that sounds almost like what you are asking for. I have it almost working in my test code. I created a derived class based on the CXTPChartControl class so that I can track the mouse movement. I'm just looking for a way to determine the graph scale so that I can accurately place my limit line on the graph as the user drags it around. I have an open issue with Codejock where they are working on helping me with that last piece of the puzzle. Will keep you posted. Brad
|
|
rhymes
Newbie Joined: 20 August 2010 Location: United States Status: Offline Points: 8 |
Post Options
Thanks(0)
|
This will be a huge help, please keep me posted...
Thanks..!
|
|
Rhymes
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |