Overlaying arrows in RadGanttView

1 Answer 22 Views
Diagram Styling
Leire
Top achievements
Rank 1
Iron
Iron
Leire asked on 13 May 2022, 08:20 AM

I was wondering if it would be possible to overlay an arrow on a task in a Radganttview.

I leave you an example photo of what I want to do.

1 Answer, 1 is accepted

Sort by
0
Stenly
Telerik team
answered on 18 May 2022, 06:53 AM

Hello Leire,

To achieve the overlaying of the relations, create a new Style with TargetType="RelationContainer". Then, add a new Setter for the ZIndexManager.ZIndex attached property and set it to, for example, 100

<Style TargetType="telerik:RelationContainer">
    <Setter Property="telerik:ZIndexManager.ZIndex" Value="100"/>
</Style>

Additionally, you could also modify the ZIndex (using the attached property) of the points of each task, by creating a new Style with TargetType="EventDecoratorContainer"

<Style TargetType="telerik:EventDecoratorContainer">
    <Setter Property="telerik:ZIndexManager.ZIndex" Value="101"/>
</Style>

The produced result is as follows:

With this said, could you give these suggestions a try?

Regards,
Stenly
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Diagram Styling
Asked by
Leire
Top achievements
Rank 1
Iron
Iron
Answers by
Stenly
Telerik team
Share this question
or