@@ -75,6 +75,7 @@ class Constants {
7575 public const ANSWER_TYPE_DATETIME = 'datetime ' ;
7676 public const ANSWER_TYPE_TIME = 'time ' ;
7777 public const ANSWER_TYPE_FILE = 'file ' ;
78+ public const ANSWER_TYPE_LINEARSCALE = 'linearscale ' ;
7879
7980 // All AnswerTypes
8081 public const ANSWER_TYPES = [
@@ -87,13 +88,15 @@ class Constants {
8788 self ::ANSWER_TYPE_DATETIME ,
8889 self ::ANSWER_TYPE_TIME ,
8990 self ::ANSWER_TYPE_FILE ,
91+ self ::ANSWER_TYPE_LINEARSCALE ,
9092 ];
9193
9294 // AnswerTypes, that need/have predefined Options
9395 public const ANSWER_TYPES_PREDEFINED = [
9496 self ::ANSWER_TYPE_MULTIPLE ,
9597 self ::ANSWER_TYPE_MULTIPLEUNIQUE ,
96- self ::ANSWER_TYPE_DROPDOWN
98+ self ::ANSWER_TYPE_DROPDOWN ,
99+ self ::ANSWER_TYPE_LINEARSCALE
97100 ];
98101
99102 // AnswerTypes for date/time questions
@@ -155,6 +158,13 @@ class Constants {
155158 'x-office/spreadsheet ' ,
156159 ];
157160
161+ public const EXTRA_SETTINGS_LINEARSCALE = [
162+ 'optionsLowest ' => ['integer ' ],
163+ 'optionsHighest ' => ['integer ' ],
164+ 'optionsLabelLowest ' => ['string ' ],
165+ 'optionsLabelHighest ' => ['string ' ],
166+ ];
167+
158168 public const FILENAME_INVALID_CHARS = [
159169 "\n" ,
160170 '/ ' ,
0 commit comments