How to draw a vertical plane like X=10 or Z=50 ?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
niotronic
Newbie
Newbie
Posts: 14
Joined: Mon Jul 15, 2013 12:00 am

How to draw a vertical plane like X=10 or Z=50 ?

Post by niotronic » Fri Jun 13, 2014 9:42 am

Hello,


I 'm looking for a way to draw a vertical plane for example X=10, Z=100 etc. with a TSurfaceSeries, but this seems to be impossible because TSurfaceSeries doesn't draw anything if I add multiple points with same x value and different y and z values:

The code below should draw a plane with the equation: X=50 in the y/z range 0..255

Code: Select all

AddXYZ(50,255, 0);
AddXYZ(50, 0, 255);
AddXYZ(50, 0, 0);
AddXYZ(50, 255, 255);
..but it doesn't draw anything!

Is there a way to draw such a plane with minimal number of points to add using any other series-type ?

Regards,

Klaus

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How to draw a vertical plane like X=10 or Z=50 ?

Post by Yeray » Fri Jun 13, 2014 2:26 pm

Hello Klaus,

The easiest way I can think on right now would be changing some of the 50 values for something else (like ie 50.01):

Code: Select all

  with Series1 do
  begin
    IrregularGrid:=true;

    AddXYZ(50,255, 0);
    AddXYZ(50.01, 0, 255);
    AddXYZ(50.01, 0, 0);
    AddXYZ(50, 255, 255);
  end;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply