Page 1 of 1

CalcXPosValue - Error return?

Posted: Mon Oct 11, 2004 4:12 pm
by 6924861
When I call...

Code: Select all

LONG xIndex = m_pChart->GetAxis().GetBottom().CalcXPosValue(xEnd);
LONG yIndex = m_pChart->GetAxis().GetLeft().CalcYPosValue(yEnd);
xValue is 0x3FFFFFF and yValue = 0xFC000001
I assume these are error values.
Any ideas what they mean (or what I'm doing wrong).

I have tried this on an example program and it works ok, so it must be something in my program.

Neil

Posted: Wed Oct 13, 2004 7:42 am
by Pep
Hi Neil,

which are the values of the xEnd and yEnd ?

Posted: Tue Oct 26, 2004 1:51 pm
by 6924861
xEnd and yEnd are doubles and the values are within the range of the data (0.0-10.0)

Neil

Posted: Tue Oct 26, 2004 3:36 pm
by Pep
Hi Neil,

it works fine here with the latest TeeChart Pro v7, I've attached one example into the steema.public.attachments newsgroup. Could you please check if it works fine for you ?