|
boundaryConstraints |
scrollLimit | ||||||||||||||||
|
We use boundaryConstraints to define the interactive region of diagram elements. By default, the boundaryConstraints is infinite.
|
We use scrollLimit to define the scrollable region of the diagram. By default, scrollLimit is Diagram.
|
|
S.no |
Query |
Response |
|
1 |
If press ctrl+scroll mouse then it increases or decreases diagram (zoom-in zoom-out) content size. can we disable this feature? |
Yes. It can be done by removing zoomable constraints from diagram model default constraints. Here is the code Snippet:
Code Example:
$("#diagram").ejDiagram({
constraints: ej.datavisualization.Diagram.DiagramConstraints.Default & ~ej.datavisualization.Diagram.DiagramConstraints.Zoomable,
});
JS Playground Link:
|
|
2 |
If i save diagram then load it again sometimes i see horizontal or vertical scroll, any solution? |
JS Playground Link:
Video Link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/saveload1881914693.zip
|