New to Telerik UI for ASP.NET MVC? Download free 30-day trial

DiagramConnectionPointBuilder

Methods

X(System.Double)

Sets the X coordinate of the intermediate point of the connection.

Parameters

value - System.Double

The value that configures the x-coordinate.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().Points(p => p.Add().X(150))
               )
             )

Y(System.Double)

Sets the Y coordinate of the intermediate point of the connection.

Parameters

value - System.Double

The value that configures the y-coordinate.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().Points(p => p.Add().Y(20))
               )
             )

In this article
Not finding the help you need?