New to Kendo UI for jQueryStart a free 30-day trial

EndCap.fill

configuration

The connection end cap fill options or color.

endCap.fill

String|Object
<div id="diagram"></div>
<script>
  var Shape = kendo.dataviz.diagram.Shape;
  $("#diagram").kendoDiagram();
  var diagram = $("#diagram").data("kendoDiagram");
  var shape1 = diagram.addShape( new Shape({x:100, y: 100}));
  var shape2 = diagram.addShape( new Shape({x:300, y: 100}));

  var connection = new kendo.dataviz.diagram.Connection(shape1, shape2, {
    endCap: {
      type: "ArrowEnd",
      fill: "orange"
    },
    selectable: false
  });

  diagram.addConnection(connection);
</script>

The connection end cap fill color.

Default: "black"

<div id="diagram"></div>
<script>
  var Shape = kendo.dataviz.diagram.Shape;
  $("#diagram").kendoDiagram();
  var diagram = $("#diagram").data("kendoDiagram");
  var shape1 = diagram.addShape( new Shape({x:100, y: 100}));
  var shape2 = diagram.addShape( new Shape({x:300, y: 100}));

  var connection = new kendo.dataviz.diagram.Connection(shape1, shape2, {
    endCap: {
      type: "ArrowEnd",
      fill: {
        color: "purple"
      }
    },
    selectable: false
  });

  diagram.addConnection(connection);
</script>

The connection end cap fill opacity.

<div id="diagram"></div>
<script>
  var Shape = kendo.dataviz.diagram.Shape;
  $("#diagram").kendoDiagram();
  var diagram = $("#diagram").data("kendoDiagram");
  var shape1 = diagram.addShape( new Shape({x:100, y: 100}));
  var shape2 = diagram.addShape( new Shape({x:300, y: 100}));

  var connection = new kendo.dataviz.diagram.Connection(shape1, shape2, {
    endCap: {
      type: "ArrowEnd",
      fill: {
        color: "yellow",
        opacity: 0.7
      }
    },
    selectable: false
  });

  diagram.addConnection(connection);
</script>