Show unused levels in a bar chart

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
Achim
Posts: 3
Joined: Tue Dec 28, 2021 4:47 pm

Show unused levels in a bar chart

Post by Achim »

Hi,

I'm new to jamovi - os far I'm very impressed with the user interface and the powerful tools. But there is one simple problem I can't find a solution to:

To show the results of a survey, I used a bar chart with bars for each possible option in a survey question. This works fine as long as all the options were picked at least once.

How do I include unused levels of a variable to show as "0%" or "0 counts" in a bar plot? (in my example image, there should be a bar with zero counts with the caption "excellent", because this was one of the possible options).

Thanks and keep up the work!

Achim
example.png
example.png (27.87 KiB) Viewed 1048 times
User avatar
jonathon
Posts: 2609
Joined: Fri Jan 27, 2017 10:04 am

Re: Show unused levels in a bar chart

Post by jonathon »

see here
Attachments
Screen Shot 2021-12-29 at 10.19.31.png
Screen Shot 2021-12-29 at 10.19.31.png (88.67 KiB) Viewed 1033 times
Achim
Posts: 3
Joined: Tue Dec 28, 2021 4:47 pm

Re: Show unused levels in a bar chart

Post by Achim »

Hi Jonathon, thanks. I'm using version 1.6.23.0 and it only says "retain unsued levels" (not "...for analyses") but there is no pin symbol next the levels an dwhen I check the option nothing happens. Any thoughts?

Cheers
Attachments
example2.png
example2.png (76.76 KiB) Viewed 1017 times
User avatar
jonathon
Posts: 2609
Joined: Fri Jan 27, 2017 10:04 am

Re: Show unused levels in a bar chart

Post by jonathon »

gotta use the latest version.

cheers

jonathon
Achim
Posts: 3
Joined: Tue Dec 28, 2021 4:47 pm

Re: Show unused levels in a bar chart

Post by Achim »

Oh boy... thanks, that helped!
Post Reply