Disable the Layout Engine
SurveyJS Dashboard includes a layout engine that arranges dashboard charts on a page. This engine is designed to use screen space efficiently. If you disable it, as shown in this demo, charts are displayed one under the other.
To disable the built-in layout engine, override it with a custom engine that implements the start
, stop
, update
, and destroy
functions, but these functions should be empty. You can refer to the LayoutEngine
function for a code example. To apply the custom engine, assign its instance to the VisualizationPanel
's layoutEngine
configuration property.
If you disable the built-in layout engine, users cannot drag and drop charts to change the layout. Set the allowDynamicLayout
configuration property to false
to hide the drag-and-drop icon.