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

Razor
 
             @(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

Razor
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().Points(p => p.Add().Y(20))
               )
             )
             
In this article
MethodsX(System.Double)Y(System.Double)
Not finding the help you need?
Contact Support