DBChart org.Chart nodes overlap and hide node

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Lars B
Newbie
Newbie
Posts: 2
Joined: Fri Jan 23, 2009 12:00 am

DBChart org.Chart nodes overlap and hide node

Post by Lars B » Wed Feb 25, 2009 2:37 pm

I have a problem with overlapping nodes in the org.chart TDBChart
TScart Pro VCL 8.04 on Delphi 2006

Using data in the org chart like


Index Text Series2
0 A -1
1 C1 0
2 G2 1
3 F2 1
4 B1 0
5 E2 4
6 D2 4
7 I3 6
8 H3 6

The node F2 will be hidden by E2 that is drawn exactly on top of F2
(hiding E2 via DBChart editor will reveal F2.) Increasing horizontal spacing does not help as
graph is centered on E2 (and F2 wich is hidden)
Also the graph is drawn so it looks like G2 has a connection to B1
due to the overlap.

How can I resolve this problem?

Kind regards
Lars

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 27, 2009 10:06 am

Hi Lars,

I've been able to reproduce the issue here and added it (TV52013901) to the defect list to be fixed. There's no workaround I can think of for now.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Lars B
Newbie
Newbie
Posts: 2
Joined: Fri Jan 23, 2009 12:00 am

Post by Lars B » Fri Feb 27, 2009 10:23 am

I'm sorry to hear that..

I found one other thing
If the tree is very wide and shallow I have to make the DBChart
very wide but then the margin from the top of the component to
the root node increases as the width increases.

Is there a way to keep the top margin constant while changing the width of the component?

Also is it possible för the DBChart to resize itself to the correct size automatically.
Kind regards
Lars

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

Post by Yeray » Mon Mar 02, 2009 11:29 am

Hi Lars,

I'm afraid that this is a new series and needs some improvements. And as you've noticed there is no property to get the series' width and I can't think an easy workaround to determine it.

I've added it to the wish list to be enhanced in further releases (TV52013914).
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

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

Post by Yeray » Fri Apr 17, 2009 11:48 am

Hi Lars,

Also note that with TeeChart installer there is also provided TeeTree, that is a component thought to create more sophisticated designs like this.
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

Post Reply