startCap String|Object

The connection start cap configuration or type name.

Example - configuring the startCap

<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), {
    startCap: {
      type: "FilledCircle",
      fill: {
        color: "red"
      },
      stroke: {
        color: "blue",
        width: 2
      }
    },
    selectable: false
  });
</script>

startCap.fill String|Object

The connection start cap fill options or color.

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

The connection start cap fill color.

startCap.fill.opacity

The connection start cap fill opacity.

startCap.stroke String|Object

The connection start cap stroke options or color.

startCap.stroke.color String

The connection start cap stroke color.

startCap.stroke.dashType String

The connection start cap stroke dash type.

startCap.stroke.width Number

The connection start cap stroke width.

startCap.type String (default: "none")

The connection start cap type.

The supported values are:

  • "none": no cap
  • "ArrowStart": a filled arrow
  • "FilledCircle": a filled circle
In this article