Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
How to select an entire line on the chart?
How to select an entire line on the chart?
Post Reply
How to select an entire line on the chart?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Fernando Albino
Fernando Albino
posted 11 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 2,
Visits: 10
Hello,
I would be like to select an especific line (by clicking), for then clone this.
Can anyone help me?
Fernando
Tags
clone
compare
drag and drop
repeatability
Reply
Like
0
Reply
Nevron Support
Nevron Support
posted 11 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Fernando,
You can easily perform a hit test using the following code:
void nChartControl1_MouseMove(object sender, MouseEventArgs e)
{
NHitTestResult result = nChartControl1.HitTest(e.X, e.Y);
if (result.Series as NLineSeries != null)
{
// result.Series holds a reference to the clicked line;
}
}
The All Examples\Interactivity\Mouse Events group of examples show how to perform hit testing in general. Just let us know if you have any questions...
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
How to select an entire line on the chart?
Fernando Albino
-
11 Years Ago
Hi Fernando, You can easily perform a hit test using the following...
Nevron Support
-
11 Years Ago
Excellent, thank you! I need help for something else... The selected...
Fernando Albino
-
11 Years Ago
Hi Fernando, Can you elaborate a bit on what you want to accomplish -...
Nevron Support
-
11 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search