Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatisticsTable not able to render rating & boolean question types #478

Open
vitexikora opened this issue Oct 3, 2024 · 1 comment
Open
Labels
enhancement user issue An issue or bug reported by users v2.0+

Comments

@vitexikora
Copy link

StatisticsTable should be able to visualize both rating & boolean types, since they are also a closed selection of values and thus similar to dropdown.
Currently it throws an exception ("this.valuesSource() is undefined"):
obrazek
obrazek

Ticket in support: T20124

@JaneSjs JaneSjs added enhancement user issue An issue or bug reported by users v2.0+ labels Oct 10, 2024
@JaneSjs
Copy link
Contributor

JaneSjs commented Oct 10, 2024

Hello,
In the meantime, a visualizer is assigned to a question based on a question type. To support a StatisticsTable visualizer for Rating and Boolean question types it will be required to rewrite this logic and resolve a visualizer not by a question type but by the actual question data.

We will consider this feature in the future. In the meantime, please consider using a Radiogroup question to implement single-select questions. For the record: you can set the colCount to 0 to display radiogroup items in a row.

Should you have any further question, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement user issue An issue or bug reported by users v2.0+
Projects
None yet
Development

No branches or pull requests

2 participants