Page 1 of 1

Problem with filled 2D contours

Posted: Tue May 27, 2008 11:38 am
by 10047127
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

Posted: Tue May 27, 2008 12:00 pm
by narcis
Hi Jørgen,

This seems a defect to me and added it (TV52013073) to the bug list to be fixed for future releases.

Posted: Tue May 27, 2008 12:06 pm
by 10047127
Thanks!


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

Jørgen

Posted: Tue May 27, 2008 12:56 pm
by narcis
Hi Jørgen,

I'm afraid not. You could try using ColorGrid series but you'd hardly obtain a similar chart.

Re: Problem with filled 2D contours

Posted: Thu Jul 02, 2009 8:19 am
by 8122852
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?

Re: Problem with filled 2D contours

Posted: Thu Jul 02, 2009 8:32 am
by narcis
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.

Re: Problem with filled 2D contours

Posted: Fri Sep 04, 2009 10:22 am
by 10047127
Hi Narcis

Has this issue been fixed in 8.06?

Regards Jørgen

Re: Problem with filled 2D contours

Posted: Fri Sep 04, 2009 10:28 am
by narcis
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.