Hi,
We have a shape design that consists of a large circled icon and a balloon style label above it.
The problem we're encountering, is that we have a hard time selecting shapes that are visible in the "empty" areas of the shape, since the diagram determines which shape is hovered according to the bounding box of the shape. In the case of a group, this is the bounding box that encompasses every shape inside the group. What makes things even worse, is that our graphical design dictates that there's no marking of a surrounding box.
I've altered one of your Diagram example to resemble our situation, please play with it for a while and see what I'm talking about: http://dojo.telerik.com/IqAlI/8
Can you please offer solutions, or consider changing the current implementation ?
Thanks in advance
5 Answers, 1 is accepted
I am afraid that there is no way to change the current implementation of the diagram for selecting a shape. The Visual template ads the group (and all shape object inside it) to the current shape, thus they are not considered as different shapes and cannot be selected separately. The only possible way to achieve this would be to separate the circles and label-shapes in separate shape objects, which will decrease the selection size (respectively the free space selection).
If this solution is not applicable for your scenario, though, i would advise that you submit a feature request for the desired functionality in our User Voice portal, so we will consider such implementation depending on the item's popularity.
Regards,
Vessy
Telerik by Progress
Hi Vessy,
We're not looking for separate selection of the shapes inside the group created in the visual content.
What we need is for mouse click between the shapes (in the "transparent" parts of the group) to select the shape behind it.
Thanks.
I understood your requirement, but unfortunately it cannot be achieved with he current implementation of the diagram. The reason for that is that the diagram's default selection is a rectangle, the size of which depends on the width/height of the shape, but not its path. In other words, even if part of the shape is transparent it will still trigger shape selection as it is actually part of the shape.
I hope this explanation will shed some light on the subject.
Regards,
Vessy
Telerik by Progress
Sure, Marina - if you think that this should be a built-in functionality in the diagram, you can submit your requirements as a feature request in our User Voice portal, so we can evaluate it:
http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback
Regards,
Vessy
Telerik by Progress