ISelectBaseVisualizerOptions
Properties
Methods
Events
Obsolete. Use the allowSortAnswers property instead.
- Type:
- boolean readonly
- Implemented in:
- ISelectBaseVisualizerOptions
Enables hiding answers with zero responses in bar charts, histograms, and statistics tables. Adds a Hide Empty Answers button to each supported visualizer.
Default value: false
- Type:
- boolean readonly
- Implemented in:
- ISelectBaseVisualizerOptions
Enables displaying the number of respondents who skipped a question. Adds a Show Missing Answers button to each chart.
Default value: false
- Type:
- boolean readonly
- Implemented in:
- ISelectBaseVisualizerOptions
Allows users to toggle between absolute values and percentages in bar charts. Adds a Show Percentages button to each bar chart.
Default value: false
- Type:
- boolean readonly
- Implemented in:
- ISelectBaseVisualizerOptions
- See also:
- showPercentages * , showOnlyPercentages * , percentagePrecision
Enables sorting answers by response count in bar charts, histograms, and statistics tables. Adds a Sorting dropdown to each supported dashboard item.
Default value: true
- Type:
- boolean readonly
- Implemented in:
- ISelectBaseVisualizerOptions
- See also:
- answersOrder
Enables selection of top 5, 10, or 20 answers by response count. Adds a Top N Answers dropdown to each chart.
Default value: false
- Type:
- boolean readonly
- Implemented in:
- ISelectBaseVisualizerOptions
Enables transposing data for matrix question visualizations.
Adds a Transpose button to supported charts.
- Per Values – Matrix rows become chart arguments, columns become series.
- Per Columns – Matrix rows become series, columns become arguments.
Default value: false
- Type:
- boolean readonly
- Implemented in:
- ISelectBaseVisualizerOptions
Specifies the answer sorting order in bar charts, histograms, and statistics tables.
Accepted values:
"default"(default) – Preserve original order."asc"– Sort by ascending response count."desc"– Sort by descending response count.
Users can modify this setting in the UI if allowSortAnswers is enabled.
- Type:
- "default" | "asc" | "desc" readonly
- Implemented in:
- ISelectBaseVisualizerOptions
Hides answers with zero responses in bar charts, histograms, and statistics tables.
Default value: false
Users can modify this setting in the UI if allowHideEmptyAnswers is enabled.
- Type:
- boolean readonly
- Implemented in:
- ISelectBaseVisualizerOptions
Default chart legend position.
You can override this setting per dashboard item using the items array.
- Type:
- "left" | "right" | "top" | "bottom" readonly
- Implemented in:
- ISelectBaseVisualizerOptions
Number of decimal places used when displaying percentages.
Default value: 2
- Type:
- number readonly
- Implemented in:
- ISelectBaseVisualizerOptions
- See also:
- allowShowPercentages * , showPercentages * , showOnlyPercentages
Displays only percentages (without absolute values) in bar charts. Applies only if allowShowPercentages or showPercentages is enabled.
Default value: false
- Type:
- boolean readonly
- Implemented in:
- ISelectBaseVisualizerOptions
- See also:
- allowShowPercentages * , showPercentages * , percentagePrecision
Displays percentages alongside absolute values in bar charts.
Default value: false
Users can modify this setting in the UI if allowShowPercentages is enabled.
- Type:
- boolean readonly
- Implemented in:
- ISelectBaseVisualizerOptions
- See also:
- showOnlyPercentages * , percentagePrecision
Send feedback to the SurveyJS team
Need help? Visit our support page