Nulls on Tlineseries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Sean Murphy
Newbie
Newbie
Posts: 19
Joined: Thu Sep 27, 2007 12:00 am
Location: UK
Contact:

Nulls on Tlineseries

Post by Sean Murphy » Mon Oct 22, 2007 8:16 pm

Tchart 8, Delphi 6,

Am using series.addnullxy(x,y) to add null points to a series. I want the series to draw points at valid non-null x,y, with lines connecting the non-null points. But where there is a null I want a gap in the lines connecting the non-null points. However, I'm getting a line between the point before the null to the point afterhte null.

Any ideas what to set please?

cheers
Sean

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 Oct 23, 2007 8:00 am

Hi Sean,

I'm not able to reproduce the problem here. It works fine for me using the code below. This code doesn't paint a line from 3 to 5. Could you please test if the code work fine at your end and modify it so that we can reproduce the problem here?

Code: Select all

  With Series1 do
  begin
    AddXY(1, random);
    AddXY(2, random);
    AddXY(3, random);
    AddNullXY(4, random);
    AddXY(5, random);
    AddXY(6, random);
    AddXY(7, random);
  end;
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

Sean Murphy
Newbie
Newbie
Posts: 19
Joined: Thu Sep 27, 2007 12:00 am
Location: UK
Contact:

Post by Sean Murphy » Tue Oct 23, 2007 11:08 am

thanks Narcis,

that woreks, so I must be screwing up somewhere else, will go look.
cheers
Sean

Post Reply