Returns vertical screen position for a given point.
public override Int32 CalcYPos(Int32 valueIndex)

Remarks


Returns the pixel Screen Vertical coordinate of the ValueIndex Series value.

This coordinate is calculated using the Series associated Vertical Axis.

Example


We want to know which is the Vertical Screen coordinate of the 22nd Series point:

[C#]

if (tChart3[0].Count>0) 
for (int i=0;i<tChart3[0].Count;i++)
{
//using Series' index
int tmpX=tChart3[0].CalcXPos(i); //returning pixel value
int tmpY=tChart3[0].CalcYPos(i);
}
Remember points start at 0

See Also

CustomPoint Class | CustomPoint Members | Steema.TeeChart.Styles Namespace