If label text empty row header defaults to dimension principal name, should be Caption

Issue #29 resolved
Scott Wiltshire created an issue

Description If the Label field in viewDef is empty then the label displaying for the dimension in a grid widget or view is the principal dimension name. This is wrong. The text of the Caption attribute should be displayed (if it exists). We should only show principal dimension name if there is no caption.

To Reproduce Either create a new grid widget or edit an existing grid widget to clear the text in the label field for a row dimension. In the dashboard, the principal dimension name is displayed in the widget as the default label.

Screenshots

2019-03-01_10-02-49.png

Expected Behaviour If a caption attribute is defined for the dimension in }DimensionAttributes then the caption should display as the default label if the label field is empty. The principal dimension name should only be used if there is no Caption.

Comments (3)

  1. Log in to comment