Setting Mark Text
Posted: Thu Aug 21, 2008 2:14 am
I am trying to set Mark Text like Manual
in the manual , it's written as VB syntax
but I think it is not working in VC++ (
i tested in the VC6 , vs 2008 )
This Code always make error Message
"Member not found"
and not able to set Mark Text
what is wrong ?
is it just a bug ?? or I am missing something?
please tell me what is the problem.
in the manual , it's written as VB syntax
but I think it is not working in VC++ (
i tested in the VC6 , vs 2008 )
This Code always make error Message
"Member not found"
and not able to set Mark Text
Code: Select all
m_chart.AddSeries(0);
m_chart.ChangeSeriesType(0,scLine);
m_chart.Series(0).GetAsLine().GetPointer().SetStyle(psCircle);
m_chart.Series(0).GetAsLine().GetPointer().SetVisible(TRUE);
m_chart.Series(0).AddXY(3,10,_T("A"),RGB(255,0,0));
m_chart.Series(0).AddXY(4,10,_T("B"),RGB(255,0,0));
m_chart.Series(0).GetMarks().GetItem(0).GetText().SetText(_T("XXX"));
is it just a bug ?? or I am missing something?
please tell me what is the problem.