Exception raised while getting Mark Coordinates...
Posted: Fri Mar 26, 2004 2:08 pm
Hi there,
I am using Teechart Pro Ax v6,
I am trying to get marks coordinates and dimensions, for this I use the following in VC++
double x = m_TChart.Series(i).GetMarks().GetPositions().GetPosition(j).GetLeftTop().GetX();
This statement works fine for single series chart.
But for multi-series chart, except for value i=0;j=0; Teechart throws an exception for all values of i and j.
Kindly let me know what is wrong and how I can work around this....
Regards
Thangaraj A.L.
I am using Teechart Pro Ax v6,
I am trying to get marks coordinates and dimensions, for this I use the following in VC++
double x = m_TChart.Series(i).GetMarks().GetPositions().GetPosition(j).GetLeftTop().GetX();
This statement works fine for single series chart.
But for multi-series chart, except for value i=0;j=0; Teechart throws an exception for all values of i and j.
Kindly let me know what is wrong and how I can work around this....
Regards
Thangaraj A.L.