Pointer - Inflate Margins

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
UserLS
Advanced
Posts: 247
Joined: Wed May 23, 2007 12:00 am

Pointer - Inflate Margins

Post by UserLS » Thu Nov 05, 2009 7:17 pm

Pointer.InflateMargins has a few problems:
  • if I had it set to True and then reset it to False (axes are set to automatic and offsets were set based on the InflateMargins only), the axes still have all the offsets set, which makes user believe, that something is not working. What is worst - I save out of the graph and come back tomorrow, and it looks different! Because now offsets are reset (by my code, but I did not know, that your code did not clean up after itself!)
  • next scenario: I have points series with InflateMargins on. So far so good. I increase (or decrease) the size of the points - nothing happens (I actually have to manually clear the axes offsets before the new size is respected!) It would be manageable if there was no following problem.
  • I have 2 or more series with pointers (lines, areas or just points). All of them have InflateMargine = true. In this case axes offsets are calculated for the first in list series and the others are just ignored!
I understand, the axes offsets can potentially be set by users, but there should be some mechanism in place to make InflateMargines work as well. Otherwise it is just a mess, which is more confusion than a feature!

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Pointer - Inflate Margins

Post by Sandra » Fri Nov 06, 2009 11:37 am

Hello UserLs,
# if I had it set to True and then reset it to False (axes are set to automatic and offsets were set based on the InflateMargins only), the axes still have all the offsets set, which makes user believe, that something is not working. What is worst - I save out of the graph and come back tomorrow, and it looks different! Because now offsets are reset (by my code, but I did not know, that your code did not clean up after itself!)
# next scenario: I have points series with InflateMargins on. So far so good. I increase (or decrease) the size of the points - nothing happens (I actually have to manually clear the axes offsets before the new size is respected!) It would be manageable if there was no following problem.
I have 2 or more series with pointers (lines, areas or just points). All of them have InflateMargine = true. In this case axes offsets are calculated for the first in list series and the others are just ignored!
I could reproduce your problems. I have added these in wish-list with numbers [TF02014539] and [TF02014540]. We will try to be fixed in future releases.

Thanks,
Best Regards,
Sandra Pazos / 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