Tchart Custom Legend
Posted: Thu Jan 18, 2018 11:33 am
hello,
I want to use custom legend, my code is:
But the result is: legend.png
I open the edit, found "percent" is not checked. as attached file: edit.png.
can you help me to find what's wrong whith my code?
thank you!
I want to use custom legend, my code is:
Code: Select all
CLegend legend = (CLegend)m_tchart.get_Legend();
legend.put_Visible(TRUE);
legend.put_CustomPosition(TRUE);
legend.put_LeftPercent(80);
legend.put_TopPercent(5);
I open the edit, found "percent" is not checked. as attached file: edit.png.
can you help me to find what's wrong whith my code?
thank you!