The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Orientation


Unit:SDL_dendrogram
Class:TDendrogram
Declaration:property Orientation: TDirection;

The property Orientation determines the direction of the dendrogram (i.e. the side of the chart where the object identifiers are displayed). The dendrogram shown below has the Orientation dirDownward.

Hint: Depending on whether the Font of the dendrogram is a TrueType font or not, the object labels for upward and downward oriented dendrograms are displayed in two different ways. If the font is a TrueType font, the labels are rotated by 90 degrees, if not the labels are left unrotated but are displayed in a staggered mode (given that the Margin is big enough - the number of staggered lines depends on the height of the label area). Following is an example of rotated and staggered object labels:

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): dendro



Last Update: 2023-Dec-13