Code: Select all
LONG xIndex = m_pChart->GetAxis().GetBottom().CalcXPosValue(xEnd);
LONG yIndex = m_pChart->GetAxis().GetLeft().CalcYPosValue(yEnd);
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