Legend's position offset

TeeChart for ActiveX, COM and ASP
Post Reply
Teltronic
Newbie
Newbie
Posts: 14
Joined: Fri Sep 12, 2008 12:00 am

Legend's position offset

Post by Teltronic » Tue Dec 09, 2008 12:00 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Dec 09, 2008 1:10 pm

Hi Teltronic,

Yes, you need to do this:

Code: Select all

	m_Chart1.GetLegend().SetTopPos(10);
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply