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

EndCap.fill

configuration

The end cap fill options or color.

endCap.fill

String|Object
<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
    shapes: [{
      visual: function() {
        var group = new kendo.dataviz.diagram.Group();
        group.append(new kendo.dataviz.diagram.Polyline({
          points: [{x: 0, y: 0}, {x: 50, y: 0}, {x: 100, y: 100}],
          endCap: {
            type: "ArrowEnd",
            fill: "red"
          }
        }));
        return group;
      }
    }]
  });
</script>

The end cap fill color.

Default: "black"

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
    shapes: [{
      visual: function() {
        var group = new kendo.dataviz.diagram.Group();
        group.append(new kendo.dataviz.diagram.Polyline({
          points: [{x: 0, y: 0}, {x: 50, y: 0}, {x: 100, y: 100}],
          endCap: {
            type: "ArrowEnd",
            fill: {
              color: "blue"
            }
          }
        }));
        return group;
      }
    }]
  });
</script>

The end cap fill opacity.

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
    shapes: [{
      visual: function() {
        var group = new kendo.dataviz.diagram.Group();
        group.append(new kendo.dataviz.diagram.Polyline({
          points: [{x: 0, y: 0}, {x: 50, y: 0}, {x: 100, y: 100}],
          endCap: {
            type: "ArrowEnd",
            fill: {
              color: "red",
              opacity: 0.5
            }
          }
        }));
        return group;
      }
    }]
  });
</script>