Problem with filled 2D contours

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Jørgen
Newbie
Newbie
Posts: 14
Joined: Wed Oct 24, 2007 12:00 am

Problem with filled 2D contours

Post by Jørgen » Tue May 27, 2008 11:38 am

HI

I have a problem with a 2D filled Contour plots.

Just placing a chart with a 2D contour series and using the code below:

Series1->IrregularGrid = true;
Series1->Brush->Style = bsSolid;
for (int i=0;i<10;i++)
{
for (int j=0;j<25;j++)
Series1->AddXYZ(i,i*j-random(0.5*i*j),j);
}

This gives contours which are not filled correctly (e.g. filled area outside contour lines and areas with white triangles). If I just use AddXYZ (i,i*j,j); the contour is drawn perfectly.

Any help will be appriciated, Jørgen

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

Post by Narcís » Tue May 27, 2008 12:00 pm

Hi Jørgen,

This seems a defect to me and added it (TV52013073) to the bug 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

Jørgen
Newbie
Newbie
Posts: 14
Joined: Wed Oct 24, 2007 12:00 am

Post by Jørgen » Tue May 27, 2008 12:06 pm

Thanks!


Is there any works arounds so that I can display irregular filled 2D contours? I.e. by using other series types?

Jørgen

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

Post by Narcís » Tue May 27, 2008 12:56 pm

Hi Jørgen,

I'm afraid not. You could try using ColorGrid series but you'd hardly obtain a similar chart.
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

HotSteemar
Newbie
Newbie
Posts: 9
Joined: Wed Nov 19, 2003 5:00 am

Re: Problem with filled 2D contours

Post by HotSteemar » Thu Jul 02, 2009 8:19 am

Hi!
Is this problem fixed already?

My colleagues are preparing the dev environment for the project to be launched quite soon,
in which the contour drawing and color-filling features are required.
Can I recommend them to useTeeChart for this purpose? Or not yet?

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

Re: Problem with filled 2D contours

Post by Narcís » Thu Jul 02, 2009 8:32 am

Hi HotSteemar,

The issue is not fixed yet. However we are working on it at the present moment. The more irregular the contour series is the worst filling is. You could try how it works depending on the kind of data you need to plot.
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

Jørgen
Newbie
Newbie
Posts: 14
Joined: Wed Oct 24, 2007 12:00 am

Re: Problem with filled 2D contours

Post by Jørgen » Fri Sep 04, 2009 10:22 am

Hi Narcis

Has this issue been fixed in 8.06?

Regards Jørgen

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

Re: Problem with filled 2D contours

Post by Narcís » Fri Sep 04, 2009 10:28 am

Hi Jørgen,

No, we haven't been able to include that in v8.06 but will continue working on a solution to this problem.
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