Page 1 of 1

Stacked bars problem almost fixed

Posted: Thu Mar 01, 2007 2:50 pm
by 9349350
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.

Posted: Thu Mar 01, 2007 3:25 pm
by narcis
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.

I uploaded a word doc as stated with screenshots

Posted: Thu Mar 01, 2007 4:28 pm
by 9349350
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)

Posted: Fri Mar 02, 2007 8:02 am
by narcis
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.

Sorry forgot to mention my upload

Posted: Fri Mar 02, 2007 10:38 am
by 9349350
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 :)

Posted: Mon Mar 05, 2007 11:28 am
by narcis
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.