Example of undefined in Javascript Diagram Control

/
/
Scrolling

This example illustrates how to scroll a diagram using vertical and horizontal scrollbars. The scroll limit property helps limit the scrolling area.

More Details...

Properties
Scroll Limit
Scrollable Area
X
Y
Width
Height
Enable AutoScroll
AutoScroll border
Left
Top
Right
Bottom
Description

The scroll limit allows you to define the scrollable region of the Diagram while scrolling the page with a mouse. The scrollSettings scrollLimit property allows you to define the scrollable region of a Diagram. You may scroll inside the designated region if the scrollLimit is set to limited. When the scrollLimit is set to Diagram, you can scroll within the Diagram content. When the scrollLimit is set to Infinity, it allows infinite scrolling. The scrollSettings autoScrollBorder property is used to specify the distance from the edge of a control at which auto-scrolling should occur.