get value from x-position
Posted: Fri Feb 25, 2005 9:12 pm
I have a fastline series and add a point to x=1; y=10 and x=4; y=13. Now I nee do know the value of Y at x=2. Is there a Method that I can call?
Steema Software - Customer Support Forums
http://216.92.101.67/support/
Code: Select all
private void Form1_Load(object sender, System.EventArgs e)
{ int x0=1,y0=10,x1=4,y1=13,x=2,y,c;
fastLine1.Add(x0,y0);
fastLine1.Add(x1,y1);
c=y0-x0;
y=x+c;
tChart1.Header.Text = y.ToString();
}