Fixed #7894: Bar chart looses numeric indexes
Fixed #7859: In statistics, the types of question "Matrix (1-5)" is not good when all the answers are 5
dev: simplified a lot