Page 1 of 1

Legend OffsetPosition

Posted: Mon Mar 15, 2010 4:00 pm
by 15055315
Could someone help with a legend offsetposition% issue? I can't seen to find the property at runtime, if using the built in editor I can see it under the "Legend" "Position" tab of the dialog. I need to change the default of 10% to 0%. I'm currently using the activex control, version 8.0.0.7.09908 under VS2005 with MFC.

Thanks...

Re: Legend OffsetPosition

Posted: Tue Mar 16, 2010 10:41 am
by yeray
Hi MFCCoding,

I think that the property you are looking for is the legend's TopPos property. I've tried it in TeeChart AX 8.0.0.8 in Visual Basic 6:

Code: Select all

TChart1.Legend.TopPos = 50
If you still have problems with it, please send us a simple example MFC project we can run as-is to reproduce the problem here.

Re: Legend OffsetPosition

Posted: Tue Mar 16, 2010 7:11 pm
by 15055315
Yeray,

I set the value to zero (not 50) and it worked as I would expect.

Thanks for the quick response.

Re: Legend OffsetPosition

Posted: Wed Mar 17, 2010 8:51 am
by yeray
Hi MFCCoding,

I'm glad to be helpful.