survey js type: "rating", code example
Example 1: survey js type: "rating",
var q = survey.getQuestionByName('satisfaction');
q.maximumRateDescription = 2;
survey.render();
Example 2: survey js type: "rating",
var q = survey.getQuestionByName('satisfaction');
q.mininumRateDescription = 2;
survey.render();