Edit this page

endCap String |Object

The connection end cap configuration or type name.

Example - configuring the connection end cap

<div id="diagram"></div>
<script>
  var Point = kendo.dataviz.diagram.Point;
  var diagram = $("#diagram").kendoDiagram({ }).getKendoDiagram();
  var connection = diagram.connect(new Point(100,100), new Point(300,100), {
    endCap: {
      type: "ArrowEnd",
      fill: {
        color: "red"
      },
      stroke: {
        color: "blue",
        width: 2
      }
    }
  });
</script>

endCap.fill String |Object

The connection end cap fill options or color.

endCap.fill.color String (default: "black")

The connection end cap fill color.

endCap.fill.opacity

The connection end cap fill opacity.

endCap.stroke String |Object

The connection end cap stroke options or color.

endCap.stroke.color String

The connection end cap stroke color.

endCap.stroke.dashType String

The connection end cap stroke dash type.

endCap.stroke.width Number

The connection end cap stroke width.

endCap.type String (default: "none")

The connection end cap type.

The supported values are:

  • "none": no cap
  • "ArrowEnd": a filled arrow
  • "FilledCircle": a filled circle
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy