I have a a chart with 6 series. I am using 2 of the line series.
1 line represents 2004 Jan-Dec.
1 Line represents 2005 Jan-Dec.
I used addNull('Sept 05') to the second series.
I used addNull('Oct 05') to the second series.
I used addNull('Nov 05') to the second series.
I used addNull('Dec 05') to the second series.
I am still getting a 0 value for the months of Sept-Dec.
I also tried Add(0,'Sept 05',clNone) and I am still getting a value.
What am I doing wrong please?
Thanks.
NullValue not working
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi AOS Dev,
Could you please be more specific on what are you trying to get? If you don't have any value from September to December you can just not add values for this range. If this is not enough for you could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Could you please be more specific on what are you trying to get? If you don't have any value from September to December you can just not add values for this range. If this is not enough for you could you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
addNull
I am trying to draw a line chart.
Jan through Dec
I have values for Jan - Aug, I would like a Null value for Sep, Oct
and I have values for Nov and Dec.
I have used AddNull. What I get is a line from Jan - Aug.
Then August line goes to 0 for Sep and Oct then goes back to the values for Nov and Dec.
I would like the Sep and Oct to have no line.
Thank you for your time.
Jan through Dec
I have values for Jan - Aug, I would like a Null value for Sep, Oct
and I have values for Nov and Dec.
I have used AddNull. What I get is a line from Jan - Aug.
Then August line goes to 0 for Sep and Oct then goes back to the values for Nov and Dec.
I would like the Sep and Oct to have no line.
Thank you for your time.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi AOS Dev,
It works fine here using AddNull or AddNullXY methods as shown in the snippet below. Could you please send us an example we can run "as-is" to reproduce the problem here?
Thanks in advance.
It works fine here using AddNull or AddNullXY methods as shown in the snippet below. Could you please send us an example we can run "as-is" to reproduce the problem here?
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var
i: Integer;
d: double;
begin
randomize;
for i:=0 to 12 do
begin
d:=random(100);
if ((Trunc(d) mod 2) = 0) then Series1.AddXY(i,d)
else Series1.AddNullXY(i,d);
end;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |