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

Shapes.hover

configuration

Defines the hover configuration.

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
    layout: "tree",
    shapes: [{
      id: "1",
      content: {
        text: "Monday"
      },
      hover: {
        fill: {
          color: "gold"
        }
      }
    }, {
      id: "2",
      content: {
        text: "Tuesday"
      }
    }, {
      id: "3",
      content: {
        text: "Wednesday"
      }
    }],
    connections: [{
      from: "1",
      to: "2"
    },{
      from: "2",
      to: "3"
    }],
    connectionDefaults: {
      endCap: "ArrowEnd"
    }
  });
</script>
String|Object

Defines the hover fill options.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        x: 100,
        y: 100,
        content: { text: "Shape 1" },
        hover: {
            fill: {
                color: "lightblue",
                opacity: 0.8
            }
        }
    }]
});
</script>
In this article
shapes.hovershapes.hover.fill
Not finding the help you need?
Contact Support