Stacked bars problem almost fixed

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Hans Hasenack
Newbie
Newbie
Posts: 31
Joined: Thu Feb 22, 2007 12:00 am
Location: Nijmegen, Netherlands
Contact:

Stacked bars problem almost fixed

Post by Hans Hasenack » Thu Mar 01, 2007 2:50 pm

Using TeeChart5 and TeeChart 6 I reported a problem using stacked bars and negative values.

Now I recently upgraded too teeChart 7, Apparently the bug has been almost fixed :) except for the final rendering part :(

Demo:

Anyway create a stacked bar chart with two series, and enter one with data
1 2 3 4 -1 -2
And one with
-2 -2 -1 1 2 3

And it will appear the surface hiding algorithm (or drawing order!) is not quite right yet. (in tee5 and tee6, the negative bars were stacked from the top of positive bars instead of from x axis causing complete misinterpretation of the data. )


Using OpenGL it is all just fine, but I don't want to use OpenGL.

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

Post by Narcís » Thu Mar 01, 2007 3:25 pm

Hi Hans,

This works fine for me here using v7.07 which is the latest TeeChart Pro v7 VCL release available at the client area. Which exact version are you using?
If problems persist could you please post a screenshot of what you get at our upload page?

Thanks in advance.
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

Hans Hasenack
Newbie
Newbie
Posts: 31
Joined: Thu Feb 22, 2007 12:00 am
Location: Nijmegen, Netherlands
Contact:

I uploaded a word doc as stated with screenshots

Post by Hans Hasenack » Thu Mar 01, 2007 4:28 pm

I have been applying these patches since TeeChart4 I believe hahaha

Anyway, I have some more patches involving teechart stability, speed and display optimization.

So I got your attention this time... Maybe I should upload the patched sources?

(My About says teechart 7.07, so I guess I am using the latest sources)

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

Post by Narcís » Fri Mar 02, 2007 8:02 am

Hi Hans,

No need to upload your patched sources, just upload a screenshot of what you get and, if you feel it's necessary, comment what's wrong in the image. I will compare this image with what I get here.

Thanks in advance.
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

Hans Hasenack
Newbie
Newbie
Posts: 31
Joined: Thu Feb 22, 2007 12:00 am
Location: Nijmegen, Netherlands
Contact:

Sorry forgot to mention my upload

Post by Hans Hasenack » Fri Mar 02, 2007 10:38 am

I had already uploaded "Stacked bars.doc" with two screenshots, using patched and unpatched TeeChart7 on exactly the same testapp.

:shock: Don't fear my patches, they are all surrounded by compiler directives {$ifdef HH_PATCH_...} and comment as to why the patch was applied, so they ar really easy to find.

Greetz - Hans :)

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

Post by Narcís » Mon Mar 05, 2007 11:28 am

Hi Hans,

Thanks for the file.

We could reproduce the problem here and added it (TV52012104) to our bug list to be reviewed again for next releases.
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