Cart Buy Licenses Contact Support Login/Register
v 1.8.6
v 1.8.6
Overview Examples Docs Source Download

VisualizationPanel

VisualizationPanel is responsible for visualizing an array of survey questions

constructor parameters: questions - an array of survey questions to visualize, data - an array of answers in format of survey result, options - object with the following options, elements - list of visual element descriptions

options: allowDynamicLayout - set it to false to disable items drag/drop reordering and dynamic layouting, labelTruncateLength - the length of the label where the truncation starts. Set to -1 to disable truncate. Default is 27. allowHideQuestions - set it to false to deny user to hide/show individual questions, allowMakeQuestionsPrivate - set it to true to allow make elements private/public also see persmissions property, seriesValues - an array of series values in data to group data by series, seriesLabels - labels for series to display, if not passed the seriesValues are used as labels, survey - pass survey instance to use localses from the survey JSON, dataProvider - dataProvider for this visualizer, layoutEngine - layout engine to be used for layouting inner visualizers

Inherited from the following class(es):

VisualizerBase
IDataInfo
allowDynamicLayout property
allowHideQuestions property
allowMakeQuestionsPrivate property
clear method
getElement method
getElements method
hiddenElements property
layout method
layoutEngine property
locale property
name property
onAfterRender event
onPermissionsChangedCallback property
onStateChanged event
onVisibleElementsChanged event
permissions property
privateElements property
publicElements property
refresh method
refresh method
registerToolbarItem method
renderContent method
setFilter method
state property
supportSelection property
visibleElements property