Page 2 of 2

Re: new-line character

Posted: Fri Mar 28, 2014 5:34 am
by 9523580
Hi,

I'm using TeeChart v7.
When I use ONLY Unicode OCX, this problem is reproduced.

Is there unicode OCX which works fine?

Re: new-line character

Posted: Thu Apr 03, 2014 9:38 am
by 9523580
How long do I have to wait to recieve Unicode OCX file which works fine?

Re: new-line character

Posted: Thu Apr 03, 2014 10:34 am
by Pep
Hello Seth,

sorry for delay on the answer.
In the case you want to continue using the TeeChart Pro ActiveX v7 (unicode version), as v7 is not fully Unicode compliant it cannot work with multiline texts assigned directly through the Series.Add methods. To be able to use multiline you will have to set the text lines into the OnGetAxisLabel event, as there wont try to check the unicode.
Here an example of code (I've just tested with the latest TeeChart Pro ActiveX v7 Update version v7.0.1.6 available at the customers download page) :

Code: Select all

void CDemovc7015Dlg::OnOnGetAxisLabelTchart1(long Axis, long SeriesIndex, long ValueIndex, BSTR FAR* LabelText) 
{
	// TODO: Add your control notification handler code here

	CString strLabel(*LabelText); 
        strLabel = "hello\n\rlabel"; 
        strLabel.SetSysString(LabelText); 	
}

Re: new-line character

Posted: Tue Apr 08, 2014 9:02 am
by 9523580
Hello Pep.

It works really fine!!!!!!!!!!!!!!!!!!!!
Thank you very much.