Studio Developer Manual / Version 2307
Table Of Contents
A ComparingScoreBarFeedbackItem
renders two score bars for direct comparison.
They are created trough method ComparingScoreBarFeedbackItem.builder
.
Property | Type | Default Value | Description |
---|---|---|---|
collection | String |
null
| The sub tab the panel should be rendered too. |
title | String |
null
| The title of the panel. |
help | String |
null
| Help text that, if set, will be rendered as a help icon next to the title. |
label | String |
null
| The label that is shown above the bar. |
value1 | float |
0
| The value of the first score. |
value2 | float |
0
| The value of the second score. |
maxValue1 | float |
0
| The maximum value of the first bar. |
maxValue2 | float |
0
| The maximum value of the second bar. |
targetValue1 | float |
0
| The target value of the first bar. |
targetValue2 | float |
0
| The target value of the second bar. |
color1 | String |
null
|
If set, the whole bar will be rendered with this color.
The reverseColors attribute is ignored in this case.
|
color2 | String |
null
|
If set, the whole bar will be rendered with this color.
The reverseColors attribute is ignored in this case.
|
reverseColors | boolean |
false
| If true, the color of the bar be reversed (green to red). |
reverse | boolean |
false
| If true, the arrow direction is reversed. |
unitLabel | String |
null
| The unit string the difference is measured in. |
unitTitle | String |
null
| The bold title of the right column. |
barTitle | String |
null
| The bold title of the left column. |
Table 9.18.
FeedbackItem
ComparingScoreBarFeedbackItem