Hi,
I am using Tee Chart Pro V8 ActiveX Control in native C++ VS 2005.
I am trying to change the symbol displayed in a Point Series with no success.
The following lines get the compiler error below..
m_chart.AddSeries(scPoint);
m_chart.Series(i).GetAsPoint().GetPointer().SetStyle(psCircle);
error C2027: use of undefined type 'CPointSeries'
Yet Intellisense lists GetAsPoint, GetPointer, and SetStyle as available choices in the popup menu.
Using GetAsLine().GetPointer().SetStyle(psCircle) compiles but I get a runtime error of "Bad Class Cast"" or something like that.
Does anyone know how to avoid the compiler error or to work around the problem so that I can change the symbols displayed in the scPoint series??
Thanks,
Tom
Compile Error When Trying To SetStyle For scPoint Series
Just A Missing Include File...
Oh, well, I was just missing the pointseries.h include and also needed to add pointseries.h and pointseries.cpp to my project...