points Array

Sets the intermediate points (in global coordinates) of the connection.

Example - setting intermediate connection points

<div id="diagram"></div>
    var Point = kendo.dataviz.diagram.Point;
    var diagram = $("#diagram").kendoDiagram({ }).getKendoDiagram();
    var connection = diagram.connect(new Point(100,100), new Point(300,100), {
        points: [
            new Point(150,100),
            new Point(150,150),
            new Point(200,150),
            new Point(200,100)

points.x Number

Sets the X coordinate of the point.

points.y Number

Sets the Y coordinate of the point.

In this article
Not finding the help you need? Improve this article