The anchorWidth attribute specifies the width, in pixels, of each anchor on the Likert scale.
<likert>
or
/ anchorWidth = expressionName | Type | Description |
---|---|---|
width | extent | An number specifying the width of each anchor on the Likert scale in pixels (default), percent, or points. |
expression | value | An expression specifying the width of each anchor on the Likert scale in pixels (default), percent, or points. |
The anchorWidth attribute controls the amount of space provided for the anchor labels, and thus the width of the entire scale. By default, the spacing between anchors is automatically computed as the minimum space required to display the anchor labels without overlapping them.
The following shows a five point Likert scale, the width of which affords 150 pixels to display each anchor:
<likert ratingquestion>
/ stimulusTimes=[0=myText]
/ anchors=[1="excellent"; 2="good"; 3="satisfactory"; 4="bad"; 5="awful"]
/ anchorWidth=150px
</likert>
The following shows a five point Likert scale, the width of which affords 3% of the screen to display each anchor:
<likert ratingquestion>
/ stimulusTimes=[0=myText]
/ anchors=[1="excellent"; 2="good"; 3="satisfactory"; 4="bad"; 5="awful"]
/ anchorWidth=3%
</likert>