Page 1 of 1

Legend's position offset

Posted: Tue Dec 09, 2008 12:00 pm
by 15050291
Hi Narcis,

we've seen in the TeeChart Demo that it is possible to change the "Position offset %:" attribute of the legend of a graphic. However, we don't know how to fix this parameter in the C++ code. How can it be done?

Thanks in advance.

Posted: Tue Dec 09, 2008 1:10 pm
by narcis
Hi Teltronic,

Yes, you need to do this:

Code: Select all

	m_Chart1.GetLegend().SetTopPos(10);