This is a migrated thread and some comments may be shown as answers.

Move Shape(group) to reduce distance

5 Answers 128 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Summit Insights
Top achievements
Rank 1
Summit Insights asked on 30 Sep 2015, 09:07 AM

Haven't had much luck with a support ticket so will try here instead. 

 

After creating a diagram object, the distance between the shapes (group) is too big. 

Now I can reduce this manually on screen.

 How do I go about selecting the group and moving the object a certain amount of pixels to the left

 

5 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 02 Oct 2015, 10:23 AM
Hello Ron,

The shapes cannot be moved as a group. You should find the group shapes and use their position method to move them. I created an example that demonstrates the scenario.

Regards,
Daniel
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
jelle
Top achievements
Rank 1
answered on 30 Oct 2017, 11:23 AM

We were trying to use this Solution to move all items in the Group with the new Version v2017.3.913 but it does not work any longer see example: http://dojo.telerik.com/aQakU

Any Advise how to achieve the same result would be much appreciated!

 

 

0
Stefan
Telerik team
answered on 01 Nov 2017, 08:25 AM
Hello, Jelle,

Could you advise the difference in the end result between the example provided by Daniel and the one with version v2017.3.91?

After inspecting them I noticed that the end result is the same, and the code is not changed as well.

https://www.screencast.com/t/5kyufGQ3nGQ

Please let me know if I missed something.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
jelle
Top achievements
Rank 1
answered on 02 Nov 2017, 08:40 AM

Hi Stefan,

the difference is in the result/behavior if i open up the example of Daniel in Chrome with the

old version (2015.3.930): all shapes move, when i select one shape an drag it around!

new version v2017.3.91 only one shape , the selected shape moves when i drag

 

Not sure if this behavior was intended but we also want to move the whole shape-group!

Thank & Regards,

Jelle

 

 

 

0
Stefan
Telerik team
answered on 06 Nov 2017, 06:36 AM
Hello, Jelle,

The only ways I was able to move the shapes as a group in the Daniels` example worked in the new version as well.

1) Select all shapes and move them.

2) Hold "Crtl" click on a shape and it will move all. 

I made a video demonstrating this:

https://www.screencast.com/t/1lhPQXtl

If I missed a scenario, please make a short video showing which dragging of all shapes was working before and it is not working now.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Diagram
Asked by
Summit Insights
Top achievements
Rank 1
Answers by
Daniel
Telerik team
jelle
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or