Number of column tree leaves 1 less than number of columns

Issue #325 on hold
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

View the tree aligned with the data when in fitted label mode.

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Open small_133x133.cdt
  2. Click the plus zoom button until there are 77 columns displayed.

CURRENT BEHAVIOR

77 columns of data are shown and 76 tree leaves are drawn. The alignment of the tree nodes progressively worsens from the edges to the middle. See screen capture attached below and note the red bolded column label's alignment with the tree leaves above.

EXPECTED BEHAVIOR

The number of tree leaves and the number of columns should be the same and the leaves should be aligned with the columns of data.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

Probably a calculation somewhere in TRView or ColumnTreeView is off. Just an equation fix - or else it's a precision issue.

FILES AFFECTED (where the changes will be implemented) - developers only

possibly TRView or ColumnTreeView and RowTreeView

LEVEL OF EFFORT - developers only

medium

COMMENTS

Note the number of tree leaves is 1 less than the number of data columns and the alignment of the leaves is off as you near the middle.

treealignmentoff.png

Comments (3)

  1. Robert Leach reporter

    This might only be an issue on my current branch for issue 323. Shouldn't be, but I should confirm this.

  2. Log in to comment