Hi,
I'm using TeeChart v7.
When I use ONLY Unicode OCX, this problem is reproduced.
Is there unicode OCX which works fine?
new-line character
Re: new-line character
How long do I have to wait to recieve Unicode OCX file which works fine?
Re: new-line character
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) :
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);
}
Pep Jorge
http://support.steema.com
http://support.steema.com
Re: new-line character
Hello Pep.
It works really fine!!!!!!!!!!!!!!!!!!!!
Thank you very much.
It works really fine!!!!!!!!!!!!!!!!!!!!
Thank you very much.