Setting Individual Mark Label
Posted: Tue Jun 17, 2008 1:05 am
I am trying to Set Normal Text to Mark.
I used the code below
(I am using Visual Studio 2008 Professional Edition.)
--below---------------
When I go this Line, Teechart Shows me the Message Box( no
component ) and I also can see this Debug Out put Message
---Output Message---------
Warning: constructing COleException, scode = DISP_E_MEMBERNOTFOUND ($80020003).
First-chance exception at 0x7c812a5b in Tester.exe: Microsoft C++ exception: COleException at memory location 0x0012eb14..
--------------------------------
Plz anybody give me a clue.
I used the code below
(I am using Visual Studio 2008 Professional Edition.)
--below---
Code: Select all
long lSeriesColor = (*m_pChart).Series(iSeriesAnalyzed).GetColor();
long what = (*m_pChart).Series(iSeriesAnalyzed).AddXY(wcstod(strX,NULL),wcstod(strY,NULL),strLabel,lSeriesColor);
CSeries cseries = (*m_pChart).Series(iSeriesAnalyzed);
CMarks cm = cseries.GetMarks();
cm.SetStyle(smsLabel);
CStrings cs = cm.GetItem(what).GetText();
cs.SetText(_T("TEXT"));
Code: Select all
cm.GetItem(what)
component ) and I also can see this Debug Out put Message
---Output Message---------
Warning: constructing COleException, scode = DISP_E_MEMBERNOTFOUND ($80020003).
First-chance exception at 0x7c812a5b in Tester.exe: Microsoft C++ exception: COleException at memory location 0x0012eb14..
--------------------------------
Plz anybody give me a clue.