Search found 3 matches

by sunxp
Thu Jan 18, 2018 11:33 am
Forum: ActiveX
Topic: Tchart Custom Legend
Replies: 1
Views: 10794

Tchart Custom Legend

hello, I want to use custom legend, my code is: CLegend legend = (CLegend)m_tchart.get_Legend(); legend.put_Visible(TRUE); legend.put_CustomPosition(TRUE); legend.put_LeftPercent(80); legend.put_TopPercent(5); But the result is: legend.png I open the edit, found "percent" is not checked. as attached...
by sunxp
Mon Jan 15, 2018 2:36 am
Forum: ActiveX
Topic: tchart import : Wrong *.tee file format
Replies: 3
Views: 14416

Re: tchart import : Wrong *.tee file format

Thanks for your answer. I have another question:
I saved the TChart(looks like attached file : origin.png) as *.tee file,
but when i open the saved file(*.tee file), it becomes this: saved.png, the background is changed.
can you help me to fix it?
by sunxp
Fri Jan 12, 2018 9:22 am
Forum: ActiveX
Topic: tchart import : Wrong *.tee file format
Replies: 3
Views: 14416

tchart import : Wrong *.tee file format

Hello, I want to export tchart config and then import config stream : CExport export1 = (CExport)m_tchart.get_Export(); VARIANT var = export1.SaveToXMLStream(TRUE, TRUE); CImport import1 = (CImport)m_tchart.get_Import(); import1.LoadFromStream(var); it shows error message: "Wrong *.tee file format" ...