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

Shapes.hover.fill

configuration

Defines the hover fill options.

shapes.hover.fill

String|Object
<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>

Defines the hover fill color.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        x: 100,
        y: 100,
        content: { text: "Shape 1" },
        hover: {
            fill: {
                color: "orange"
            }
        }
    }]
});
</script>

Defines the hover fill opacity.

Default: 1

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        x: 100,
        y: 100,
        content: { text: "Shape 1" },
        hover: {
            fill: {
                opacity: 0.6
            }
        }
    }]
});
</script>