TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
Matheo Soft.
- Newbie
- Posts: 21
- Joined: Tue Oct 04, 2011 12:00 am
Post
by Matheo Soft. » Fri Oct 21, 2011 11:10 pm
Dear Support,
Always with my newbie questions, sorry...
Is it possible to show only marks on a TeeMap where Value > 0
I try:
Code: Select all
...
if k>0 then
begin
Series1.ZValues[i] := k;
Series1.Marks[i].Visible := True;
end;
...
but no result in the Map with or without : Series1.Marks.Visible := True;
Many thanks for your help,
Bruno
-
Yeray
- Site Admin
- Posts: 9612
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Mon Oct 24, 2011 12:59 pm
Hello Bruno,
I'm not sure to see how are you exactly setting your series. I'm trying this example and it seems to work as expected:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
Series1.FillSampleValues();
Series1.Marks.Visible:=true;
for i:=0 to Series1.Count div 2 do
Series1.Marks[i].Visible:=false;
end;
If you still have problems with it, please, try to arrange a simple example project we can run as-is to reproduce the problem here.
-
Matheo Soft.
- Newbie
- Posts: 21
- Joined: Tue Oct 04, 2011 12:00 am
Post
by Matheo Soft. » Mon Oct 24, 2011 2:56 pm
Dear Yeray,
Ok, it works with this method.
Thank one more time!
Bruno
-
Yeray
- Site Admin
- Posts: 9612
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Mon Oct 24, 2011 3:11 pm
Hi Bruno,
You are welcome