Page 1 of 1

TeeMap and Marks?

Posted: Fri Oct 21, 2011 11:10 pm
by 16560339
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

Re: TeeMap and Marks?

Posted: Mon Oct 24, 2011 12:59 pm
by yeray
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.

Re: TeeMap and Marks?

Posted: Mon Oct 24, 2011 2:56 pm
by 16560339
Dear Yeray,

Ok, it works with this method.

Thank one more time!

Bruno

Re: TeeMap and Marks?

Posted: Mon Oct 24, 2011 3:11 pm
by yeray
Hi Bruno,

You are welcome :D