Is it possible to make the diagram scrollable?

0 Answers 74 Views
Ajax Diagram Splitter
yuki
Top achievements
Rank 2
Iron
Iron
Iron
yuki asked on 13 Apr 2023, 03:22 AM

I have a diagram with fixed width and height, and on this diagram I have tons of generated shapes in a tree layout.

The shapes cannot be fully displayed in the diagram, only a part of them can be seen. I need to zoom out to shrink all the shapes in order to see the complete picture. However, because there are a lot of shapes, after zooming out, each shape becomes very small and cannot be seen clearly. I hope the diagram can have a horizontal and vertical scrolling feature, so that I can scroll to view the entire picture. I did not find the scrolling feature for the diagram in the documentation.  (Pan and drag are not what I'm looking for.)

How can I implement this?

Thanks.

Rumen
Telerik team
commented on 13 Apr 2023, 02:53 PM

While this feature is not available in the diagram you can follow the approach from the following Kendo UI KB to display a scrollbar around the diagram container:

https://docs.telerik.com/kendo-ui/controls/diagrams-and-maps/diagram/how-to/using-scrollbar.

 
yuki
Top achievements
Rank 2
Iron
Iron
Iron
commented on 14 Apr 2023, 02:39 AM

Thanks! I'll try.

No answers yet. Maybe you can help?

Tags
Ajax Diagram Splitter
Asked by
yuki
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or