Hello all,
I am currently using TChart 5 in an activeX control and when I execute the following command:
dbValueX = (pChart->Series(0).GetXValues ().GetValue (iCntr));
I would expect to get the VALUE of the data point at iCntr. Instead, I get a number that is the same as the Point number. How do I get the X or Y value? Is the GetXValues/GetYValues not the way to do this?
Jt
GetXValues ().GetValue ();
Hi,
dbValueY = (pChart->Series(0).GetYValues ().GetValue (iCntr));
To get the value of the Xpoint you should use :dbValueX = (pChart->Series(0).GetXValues ().GetValue (iCntr));
I would expect to get the VALUE of the data point at iCntr. Instead, I get a number that is the same as the Point number. How do I get the X or Y value? Is the GetXValues/GetYValues not the way to do this?
dbValueY = (pChart->Series(0).GetYValues ().GetValue (iCntr));
Pep Jorge
http://support.steema.com
http://support.steema.com