TreeMap borders

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Markus46
Newbie
Newbie
Posts: 15
Joined: Thu Sep 20, 2018 12:00 am

TreeMap borders

Post by Markus46 » Thu Nov 29, 2018 12:10 am

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
Attachments
TreeMap.png
TreeMap.png (5.64 KiB) Viewed 10033 times

Yeray
Site Admin
Site Admin
Posts: 9617
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TreeMap borders

Post by Yeray » Thu Nov 29, 2018 7:50 am

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 10031 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Markus46
Newbie
Newbie
Posts: 15
Joined: Thu Sep 20, 2018 12:00 am

Re: TreeMap borders

Post by Markus46 » Thu Nov 29, 2018 8:08 pm

Works like a charm!
Thanks so much :)

Post Reply