Problem with CalcXPos and CalcXPosValue
Posted: Sat Oct 28, 2006 7:58 am
Dear Support
I'm adding a few points to a point series, and then I would like to determine the screen horizontal pixel equivalent of a point or a value, so I write:
PIXEL=frmXX.TChartContour.Series(1).CalcXPosValue(XVALUE)
or
PIXEL =frmXX.TChartContour.Series(1).CalcXPos(IPOINT)
but I always get 0. Why? What can be the problem, what do I do wrong?
Tx in advance, best regards
Andras
I'm adding a few points to a point series, and then I would like to determine the screen horizontal pixel equivalent of a point or a value, so I write:
PIXEL=frmXX.TChartContour.Series(1).CalcXPosValue(XVALUE)
or
PIXEL =frmXX.TChartContour.Series(1).CalcXPos(IPOINT)
but I always get 0. Why? What can be the problem, what do I do wrong?
Tx in advance, best regards
Andras