Millisecond Forums

anchorwidth

https://forums.millisecond.com/Topic9025.aspx

By lotte - 10/29/2012

Hi,


I would like to adjust the width between the anchors of a likert scale. 


The anchorwidth should allow you to specify the distance between anchors on the scale, however, when I change these settings, the anchors itself become wider/ narrower, and not the -black line between them-. 


Thus, my question is: how can I adjust the length of the black line between the anchors of a likert scale?


Thanks, Lotte

By Dave - 10/29/2012

No sure what you are experiencing, but things work just fine as far as I can tell in Inquisit 4.0.0.1 (tested on WIndows):


<likert ratingquestion>
/ anchors=[1="nice"; 3="meh"; 5="yuck"]
/ position=(50, 90)
/ anchorwidth = 15%
</likert>


gives



<likert ratingquestion>
/ anchors=[1="nice"; 3="meh"; 5="yuck"]
/ position=(50, 90)
/ anchorwidth = 5%
</likert>


gives



as expected.

By lotte - 10/29/2012

I also specified the number of points of the scale (for example: /numpoints = 40). 


When I delete this in my script, indeed the anchorwidth (black lines) can be adjusted.


However, when I also specify the number of desired points of the scale, the buttons get wider/ narrower when specifying different anchorwidths...


I dont know why this is not working.. it would be nice if I could have a large number of anchors and adjust the width between them.


(I'm also working on windows, in Inquisit 4.0.0.1)



By Dave - 10/29/2012

However, when I also specify the number of desired points of the scale, the buttons get wider/ narrower when specifying different anchorwidths...


This will only happen if you try to cram more buttons on the screen than your screen can accommodate *and* specifiying a very small anchorwidth. E.g.:


<likert ratingquestion>
/ anchors=[1="nice"; 10="meh"; 21="yuck"]
/ position=(50, 90)
/ anchorwidth = 3%
/ numpoints = 21
</likert>



vs.


<likert ratingquestion>
/ anchors=[1="nice"; 10="meh"; 21="yuck"]
/ position=(50, 90)
/ anchorwidth = 4%
/ numpoints = 21
</likert>



Basically, the distance between buttons can't be adjusted below a certain minimum. However, if you require that many response options, <likert> elements may not be the best option anyway. A <slider> may well be preferable. And if all else fails, you can always build a custom likert scale as per https://www.millisecond.com/download/library/v2/CustomLikert/customlikert.zip.