CalcXPosValue - Error return?

TeeChart for ActiveX, COM and ASP
Post Reply
Neil
Newbie
Newbie
Posts: 10
Joined: Wed Oct 09, 2002 4:00 am
Location: UK
Contact:

CalcXPosValue - Error return?

Post by Neil » Mon Oct 11, 2004 4:12 pm

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

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Oct 13, 2004 7:42 am

Hi Neil,

which are the values of the xEnd and yEnd ?

Neil
Newbie
Newbie
Posts: 10
Joined: Wed Oct 09, 2002 4:00 am
Location: UK
Contact:

Post by Neil » Tue Oct 26, 2004 1:51 pm

xEnd and yEnd are doubles and the values are within the range of the data (0.0-10.0)

Neil

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Oct 26, 2004 3:36 pm

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 ?

Post Reply