I want to export tchart config and then import config stream :
Code: Select all
CExport export1 = (CExport)m_tchart.get_Export();
VARIANT var = export1.SaveToXMLStream(TRUE, TRUE);
CImport import1 = (CImport)m_tchart.get_Import();
import1.LoadFromStream(var);
can you show where the problem is?
or would tell me how to do?
TChart version: 2017 ActiveX
Thanks