Page 1 of 1

Contour oddity / bug?

Posted: Mon Dec 10, 2007 3:34 am
by 10047436
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.

Posted: Mon Dec 10, 2007 10:08 am
by narcis
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.

Contour oddity / bug?

Posted: Mon Dec 10, 2007 12:07 pm
by 10047436
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.

Posted: Mon Dec 10, 2007 3:30 pm
by narcis
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.

Contour oddity / bug?

Posted: Mon Dec 10, 2007 4:28 pm
by 10047436
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!

Posted: Mon Jun 09, 2008 12:01 pm
by 10047436
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.

Posted: Mon Jun 09, 2008 1:19 pm
by narcis
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.

Posted: Mon Jun 09, 2008 1:28 pm
by 10047436
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.

Posted: Mon Jun 09, 2008 1:36 pm
by narcis
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.

Posted: Mon Jun 09, 2008 3:06 pm
by 10047436
Thank you, I have received it.