Click here to Skip to main content
15,867,986 members
Please Sign up or sign in to vote.
2.54/5 (3 votes)
See more:
The following is my codes:
C++
CTchart1 m_tChart1;
m_tChart1.AddSeries(CTchart1::scFastLine);


now I wanna change the Point Style in m_tChart1.Series(0), what should I do?

I searched in the Internet, and found that codes in C# is:
C++
(ch1.Series[0] as Steema.TeeChart.Styles.Bubble).Pointer.Style = Steema.TeeChart.Styles.PointerStyles.PolishedSphere;

codes in C++ builder is:
C++
((TLineSeries*)(Chart1->Series[i]))->Pointer->Visible=true;
((TLineSeries*)(Chart1->Series[i]))->Pointer->Style=psCircle;

But I could not find any methods about Style in class CTchart1 or CSeries, waiting for your help :-)
thank you.
Posted
Updated 7-Jan-14 5:17am
v3
Comments
Richard MacCutchan 27-Dec-13 9:59am    
I could not find any references in Google. Where did you get these classes from?
The_Inventor 4-Jan-14 5:45am    
Probably from some template he found.
MJN_ 7-Jan-14 11:11am    
Those classes(such as CSeries) are generated by VS2010(project -> add class -> MFC class in TypeLib -> TeeChart Pro ActiveX Control v8<1.0> .etc.)
CTchart1 is also generated by VS: firstly add a Teechart8 Control to a dialog, then add a new Class whose name is CTchart1 according to right clicking the Teechart8 Control.
Richard MacCutchan 7-Jan-14 11:15am    
That was not my question. I was more interested to know whether you wrote them (unlikely) or if they were a 3rd party product. I guess from your answer that they are 3rd party, so you would be better asking your question at the site where you got them from.
MJN_ 3-Mar-14 9:46am    
Yep, It's a 3rd party, the name is Teechart, and 8 is its version.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900