TBarSeries - Gradient changed in V2011

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

TBarSeries - Gradient changed in V2011

Post by marder » Mon Jan 02, 2012 4:12 pm

Hi.

When changing from TeeChart Pro V8 to V2011 I encountered that the gradient of the TBarSeries looks different:

Image
(TeeChart Pro V8)

Image
(TeeChart Pro V2011)

The code did not change.

My question: is it possible with TeeChart V2011 to get the same gradient as in TeeChart V8?

Note: Same applies for THorizBarSeries.

Thanks and best regards!

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

Re: TBarSeries - Gradient changed in V2011

Post by Yeray » Tue Jan 03, 2012 9:58 am

Hi Marder,

Right, with v2010 the gradients were modified to apply the gradient to all the sides.
I've added to the wish list the suggestion of a new property to control if the sides have to be drawn with gradient or not (when BarStyle=bsRectGradient) [TV52015990].
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

marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

Re: TBarSeries - Gradient changed in V2011

Post by marder » Tue Jan 03, 2012 11:47 am

Hi Yeray.

Thanks for your fast answer!

I think this issue is because the property "Dark3D" of the bar series is no longer taken into account in case that BarStyle "bsRectGradient" is used.
There is no difference in the shown bars if this property is set or not.

This is a bug my opinion.
Do you agree?

Instead of introducing a new property you should ensure the correct usage of the property "Dark3D".
This should fix this problem.

Best regards.

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

Re: TBarSeries - Gradient changed in V2011

Post by Yeray » Tue Jan 03, 2012 2:50 pm

Hi Marder,
marder wrote:I think this issue is because the property "Dark3D" of the bar series is no longer taken into account in case that BarStyle "bsRectGradient" is used.
There is no difference in the shown bars if this property is set or not.
In v2010, the gradients were modified, affecting this. This modification improved the gradients, adding the possibility to show the gradients also in the bar sides. However, as you've noted, the Dark3D property doesn't work with the bsRectGradient BarStyle.

IMHO, setting a gradient bar style and obtaining gradients in all the bar sides looks logical. And I don't see why a property named Dark3D should activate/deactivate a gradient. I'd find it more logical if this property would darken the bar sides gradient.

But we don't like changing any behaviour, and in v8 you could have a gradient in the front and solid sides. That's why I've suggested to add a new property to activate/desactivate the bar sides gradient.
marder wrote:This is a bug my opinion.
Do you agree?
I've added the ticket to the wish list as an "enhancement" but note there's actually a unique list of items with "enhancements", "new features" and "bugs" all together. So it's not really important the label we assign to an item but its priority. And I've assigned a quite high one to this.
marder wrote:Instead of introducing a new property you should ensure the correct usage of the property "Dark3D".
This should fix this problem.
My suggestion in the [TV52015990] item (exposed above) is just this, a suggestion. It's nothing closed and all the comments and opinions are welcome. And I've referenced this thread so your opinion can be taken in consideration when the ticket will be revised and a decision will be taken.
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

marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

Re: TBarSeries - Gradient changed in V2011

Post by marder » Tue Jan 03, 2012 3:41 pm

Hi Yeray.

Ok, thanks for your detailed feedback!
All your comments sound reasonable.

In my opinion the gradient on the right bar side looks ok.
I think it is the gradient on the top side which does not fit for my taste.

Take a look at this image:
Image

I did manually manipulate the last 3 bars by using the “old” top side color.
In my opinion this looks much better.

This would be the optimal (correct looking) solution for me.
What do you think about this?

Best regards

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

Re: TBarSeries - Gradient changed in V2011

Post by Yeray » Wed Jan 04, 2012 8:22 am

Hi Marder,

Now that you mention it, I agree. I think it would look more homogeneous if the top side wasn't gradient. It could use the top color of the gradient in the front side, darkened or not depending on the Dark3D property.
I'll add this in the ticket description too.
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

marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

Re: TBarSeries - Gradient changed in V2011

Post by marder » Fri Nov 09, 2012 4:12 pm

Hi.

I wonder if there are any news on this?

Best regards.

Post Reply