Series() function not working
Posted: Wed Apr 28, 2004 5:00 am
Our company recently had just purchased the license for TeeChart V6 (we currently had TeeChart V5). I'm in the process of upgrading to TeeChart V6.
I've copied all the new VC classes from Utilities and included them in our project. We've set up the project in the way that we are able to switch from V5 to V6 and vice versa.
My problem is with the GetSeries() function. Previously, we've have a line of code in V5 that looks like this:
chart_.GetSeries(i_series).GetYValues().SetValue(i_point, i_value);
now, in V6 I'm using:
chart_.Series(i_series).GetYValues().SetValue(i_point, i_value); (NB: There's no GetSeries() or GetaSeries() in tchart.h)
Calling this Series() produced an error message "Member Not Found". When I clicked OK to this message, the graph then appeared but with only the first points filled, the rest are all zeros.
Have I call on the right function? If not, then what function I should call instead of the old GetSeries() ?
I've copied all the new VC classes from Utilities and included them in our project. We've set up the project in the way that we are able to switch from V5 to V6 and vice versa.
My problem is with the GetSeries() function. Previously, we've have a line of code in V5 that looks like this:
chart_.GetSeries(i_series).GetYValues().SetValue(i_point, i_value);
now, in V6 I'm using:
chart_.Series(i_series).GetYValues().SetValue(i_point, i_value); (NB: There's no GetSeries() or GetaSeries() in tchart.h)
Calling this Series() produced an error message "Member Not Found". When I clicked OK to this message, the graph then appeared but with only the first points filled, the rest are all zeros.
Have I call on the right function? If not, then what function I should call instead of the old GetSeries() ?