Page 1 of 1

Export to Excel have korean issue.

Posted: Fri Sep 21, 2018 4:30 am
by 16683095
Hello,

I am using the TeeChart ActiveX control 2018 (release 201808) with a VC ++ MFC application.

Export to Excel have korean issue.

I would like to use the "> v2010" option during Editnig option.
(I want to save it as ".xlsx" for Korean language support.)
However, it is not supported in the current version of "TeeChart2018.ocx".

Also, check if you can support Korean through CXMLExport -> SetEncoding () setting.

Re: Export to Excel have korean issue.

Posted: Fri Sep 21, 2018 9:35 am
by yeray
Hello,

I've been able to export the data to a .xlsx (Excel > 2010) with VB6 and TeeChart v2018.0.2.9 using a Korean machine and the sheet looks fine.
What error are you getting?
Note you need an Office > 2010 installed to be able to use this .xlsx export feature.

Re: Export to Excel have korean issue.

Posted: Thu Sep 27, 2018 12:33 am
by 16683095
Hello,

The test code I used VC2013.

//=====================================================
CExport pExport = m_TeeChart.GetExport();
CXLSExport pXlsExport = pExport.GetAsXLS();
pXlsExport.SetIncludeHeader(TRUE);
pXlsExport.SetIncludeLabels(TRUE);
pXlsExport.SetIncludeIndex(FALSE);
pXlsExport.SaveToFile("c:\\Test.xls");
//=====================================================

Korean is broken as shown below.
ExportToExcel.png
ExportToExcel.png (10.58 KiB) Viewed 22471 times
Test result "> 2010" option does not break Korean.
Edting Option.png
Edting Option.png (19.25 KiB) Viewed 22471 times
So I want to use the "> 2010" option but I can not find the TeeChart2018.ocx function.
Please tell me how I can use the "> 2010" option using VC2013.

Re: Export to Excel have korean issue.

Posted: Thu Sep 27, 2018 9:33 am
by yeray
Hello,

I'm afraid the exportation to .xlsx hasn't been implemented yet in TeeChart ActiveX so it can only be used from the editor, inheriting the feature from TeeChart VCL. This is a feature already in the wish list for the next releases: #1670.

Re: Export to Excel have korean issue.

Posted: Fri Sep 28, 2018 12:48 am
by 16683095
Hello,

Is there any way to correct the Korean broken in TeeChart ActiveX?
(In Teechart8, Korean was not broken.)

Re: Export to Excel have korean issue.

Posted: Fri Sep 28, 2018 9:25 am
by yeray
Hello,

I'm finding troubles with TeeChart v8.
Could you please arrange a simple example project showing how it worked in v8 so we can upgrade it to v2018 and check the difference?
Thanks in advance.