Page 1 of 1

TreeMap borders

Posted: Thu Nov 29, 2018 12:10 am
by 16584505
Hello,

What properties of the TTreeMap series do I need to set to remove the borders around each box, including the outer box "A"?
I have tried

Code: Select all

Series.Pen.Color := clWhite
Perhaps what I am seeing is a shadow? In that case, how to remove the shadow?

Also, what properties do I need to set to remove the space around each box? I'd like to show the boxes abutting each other.

I can't even see how to do these things using the Chart Editor GUI.

Regards
Mark

Re: TreeMap borders

Posted: Thu Nov 29, 2018 7:50 am
by yeray
Hello,

You should modify each Item Format. Ie:

Code: Select all

var i: Integer;
//...
  for i := 0 to Series1.Count-1 do
    with Series1.Item[i].Format do
    begin
      Pen.Visible:=False;
      Shadow.Visible:=False;
    end;
Project3_2018-11-29_08-48-55.png
Project3_2018-11-29_08-48-55.png (8.35 KiB) Viewed 9917 times

Re: TreeMap borders

Posted: Thu Nov 29, 2018 8:08 pm
by 16584505
Works like a charm!
Thanks so much :)