Shadows not displaying properly

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

Shadows not displaying properly

Post by UserLS » Tue Oct 27, 2009 6:20 pm

There are general problems with how shadows are displayed when the size is big enough.
I am just playing with chart editor and set Title's shadow offset to (100, 100).
As you can see on my attachment, the title's shadow is more then just strange with a lite vertical line (which you cannot get rid of at all).
Also, my legend's title shadow is not visible, but still the legend reserves the vertical space for it.
Yes, I know that I could use "smooth" mode, which has fewer bugs and displays quite nice... but here is the problem - it is not included into PDF, when exported, and I do not need a graph at all, if I cannot export it to PDF.

Also try to set the shadow offset to (3, 3) and the shape's frame width to 10 or 15. Now your shadow is inside the frame!
Attachments
Shadows.jpg
Shadows.jpg (38.46 KiB) Viewed 8206 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Shadows not displaying properly

Post by Yeray » Wed Oct 28, 2009 1:18 pm

Hi UserLS,

Yes, you are right. I've added this to the wish list to be fixed in further releases (TF02014515).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

UserLS
Advanced
Posts: 247
Joined: Wed May 23, 2007 12:00 am

Re: Shadows not displaying properly

Post by UserLS » Wed Oct 28, 2009 3:52 pm

Is it going to be fixed in v3? If yes, when I can expect the next release?

UserLS
Advanced
Posts: 247
Joined: Wed May 23, 2007 12:00 am

Re: Shadows not displaying properly

Post by UserLS » Wed Oct 28, 2009 8:52 pm

Just to make sure, you'll know about all problems here:
  • If you enter a negative number for the horizontal offset - it is treated as positive value (so 60 and -60 is the same value???)
  • if you enter a negative value for the vertical offset (and I tried to do it with Legend and Title) - it's not just ignoring the negative sign, but it also resizes your graph in a very strange way!

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Shadows not displaying properly

Post by Yeray » Fri Oct 30, 2009 4:18 pm

Hi UserLS;
UserLS wrote:Is it going to be fixed in v3? If yes, when I can expect the next release?
We usually implement new features and bug fixes in the current releases (in this case v4) and then we consider the code transfer to previous versions depending on the cost of doing it (usually it's not a simple copy&paste due to other differences between versions), the number of customers that demand it, and if it's more or less critic.
So I'm afraid can't tell you if this will be fixed for v3 or not. It will be considered when it will be fixed for the current release.
UserLS wrote:Just to make sure, you'll know about all problems here:
  • If you enter a negative number for the horizontal offset - it is treated as positive value (so 60 and -60 is the same value???)
  • if you enter a negative value for the vertical offset (and I tried to do it with Legend and Title) - it's not just ignoring the negative sign, but it also resizes your graph in a very strange way!
Yes, we can see several irregularities with those shadows. I'll add to the bug ticket the details you've mentioned.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

UserLS
Advanced
Posts: 247
Joined: Wed May 23, 2007 12:00 am

Re: Shadows not displaying properly

Post by UserLS » Wed Dec 16, 2009 3:20 pm

With the latest build the shadows on shapes are working slightly better. My question is: if you did work in this area, why not fix it for good. As of now, if you have your title shape style set to Rectangle, than the location of the shadow is calculated correctly (as long as your vertical offset is positive - negative offsets are still badly broken and do not survive round-tripping through templates). But if you change the shape to be RoundRect - the shadow jumps (looks like all the offsets are doubled). And another problem - Rectangle shape and vertical offset is such that the shadow is supposed to be below the frame (not even touching it)... well, try to do it. I always have an extra rectangle connecting the shape with the shadow.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Shadows not displaying properly

Post by Yeray » Thu Dec 17, 2009 9:18 am

Hi UserLS,

The bug ticket TF02014515 hasn't been closed. If you found that the drawing of the shadows was improved it probably was when trying to fix another (related) problem.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply