Returns the pixel Screen Horizontal coordinate of the ValueIndex Series value.
public abstract Int32 CalcXPos(Int32 index)

Remarks


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

This coordinate is calculated using the Series associated Horizontal Axis.

Example


We want to know which is the Horizontal Screen coordinate of the 4th 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

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