Click here to Skip to main content
15,907,183 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i need to get the two series intersection point in chart. i dont have any idea to do.

What I have tried:

i need to get the two series intersection point in chart. i dont have any idea to do.
Posted
Updated 5-Apr-19 15:41pm
Comments
Richard Deeming 5-Apr-19 12:39pm    
It will almost certainly be simpler to work this out from the data, rather than trying to mess around with a chart control.

But since you haven't told us which chart control you're using, what type of application you're writing, or where the data comes from, any answer you get will be pure guesswork.

Quote:
i dont have any idea to do.

Start with a sheet of paper and a pencil.
Solve the problem by hand, repeat with other datasets.
You follow a method, write down the steps and try to solve the problem by following mechanically the method, if it don't work, refine and try again.
At the end, the refined method is your algorithm, just translate to code.
Quote:
How can I get the two series intersection point in chart

We have no idea what is your mathematical background, your programming knowledge, what your have already tried.
 
Share this answer
 
If the sampling rate is the same for both series, they will intersect where the x and y values (i.e. sample points) from both series match. If only one matches, that works too if it's not an end point or running parallel.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900