Contour oddity / bug?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
coler
Newbie
Newbie
Posts: 13
Joined: Wed Nov 21, 2007 12:00 am

Contour oddity / bug?

Post by coler » Mon Dec 10, 2007 3:34 am

I'm trying to use TeeChart's 2D contouring feature (TeeChart Pro is fantastic, BTW!) to contour a relatively small (several hundred) amount of data on a rectangular grid.

I have set Irregular Grid to true, and have a set of 30(horiz)x15(vert) grid cells.

It works fine EXCEPT when a large area of the data contains the same data value. For example, if an area of zero data values is spread across more than one of the 30x15 grid cells, a zero contour line is drawn encompassing each of the cells.

So what you end up with if you have an entire rectangular grid containing data that is all zero, is a zero contour line surrounding EACH of the 30 x 15 cells. That is most odd.

I've tried just about everything I can think of, but I can't manage to get rid of those contours that surround larger areas of data containing zeros.

If I change IrregularGrid to false, all of the contour lines disappear except for points containing the minimum and the maximum.

What am I doing wrong? Is this a bug?

Thanks in advance for any help or advice you can give.

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 Dec 10, 2007 10:08 am

Hi coler,

Could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or 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

coler
Newbie
Newbie
Posts: 13
Joined: Wed Nov 21, 2007 12:00 am

Contour oddity / bug?

Post by coler » Mon Dec 10, 2007 12:07 pm

I have uploaded a simple sample project that illustrates this problem. Please note that the project was compiled on an older Borland CBuilder 5 platform.

Please let me know if you can figure out what I'm doing wrong, or if this is an actual bug.

I would have expected a single contour for this around the extreme edge of the chart (or no contour at all). The example simply fills the chart with zeroes.

Thanks again. You folks have an amazingly powerful package here. It was well worth the money.

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 Dec 10, 2007 3:30 pm

Hi coler,

Thanks for the example project and words.

I've been able to reproduce the issue here and this seems to be a bug (TV52012632) which I've added to our defect list to be fixed for future 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

coler
Newbie
Newbie
Posts: 13
Joined: Wed Nov 21, 2007 12:00 am

Contour oddity / bug?

Post by coler » Mon Dec 10, 2007 4:28 pm

Thank you very much for checking and confirming this. I look forward to the next release that resolves this issue. Keep up the great work!

coler
Newbie
Newbie
Posts: 13
Joined: Wed Nov 21, 2007 12:00 am

Post by coler » Mon Jun 09, 2008 12:01 pm

Hi Narcis. Can you tell me whether this particular bug has been corrected for the next release of the code? Bug #TV52012632.

We have developed a software package that uses the contouring feature, but are delaying releasing it until (and if) we know if this particular bug has been corrected. We were informed that you folks were going to release an update for the VCL code sometime this month. Any idea if there is a firm date?

Thanks.

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 Jun 09, 2008 1:19 pm

Hi coler,

We have a release candidate version ready but this particular issue hasn't been fixed. If you let us know the IDE you are using I can send you the URL to test v8.03.
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

coler
Newbie
Newbie
Posts: 13
Joined: Wed Nov 21, 2007 12:00 am

Post by coler » Mon Jun 09, 2008 1:28 pm

That's too bad it hasn't been fixed yet. I guess I'll have to release the software with that bug in place, as ugly as it is, and wait for you folks to fix it sometime in the future.

Is there a way I can purchase the source code and fix it myself?

Nevertheless, I'd be happy to test 8.03. I'm currently using C++ Builder 5. Thanks.

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 Jun 09, 2008 1:36 pm

Hi coler,
Is there a way I can purchase the source code and fix it myself?
Yes, full Delphi sources are available as an option. Please contact our Sales Dept., at sales at steema dot com, for information on how to upgrade your license.
Nevertheless, I'd be happy to test 8.03. I'm currently using C++ Builder 5. Thanks.
Ok, I just sent the URL to donwload it to your forum profile e-mail address.
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

coler
Newbie
Newbie
Posts: 13
Joined: Wed Nov 21, 2007 12:00 am

Post by coler » Mon Jun 09, 2008 3:06 pm

Thank you, I have received it.

Post Reply