|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....|
|Home ChartPack Dendrogram Events OnCalcDistance|
|See also: Events, OnBeforeShowObjLabel, OnProgress (Dendrogram), OnZoomPan|
The event OnCalcDistance is triggered during cluster analysis if the distance measures (property DistMeasure) has been set to dmUserDef.
The parameters Row1 and Row2 specify the indexes of the data table Data. The parameter Sender points to the TDendrogram instance which triggered the event. The variable parameter Distance has to be used to return the distance between the two objects.