zoomRate Number
(default: 0.1)
The zoom step when using the mouse-wheel to zoom in or out.
Example - increasing the Diagram zoom step
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
zoomRate: 0.5,
shapes: [{
id: "1",
content: {
text: "Monday"
},
x: 100,
y: 20
}, {
id: "2",
content: {
text: "Tuesday"
},
x: 350,
y: 20
}, {
id: "3",
content: {
text: "Wednesday"
},
x: 250,
y: 200
}],
connections: [{
from: "1",
to: "2"
},{
from: "2",
to: "3"
}],
connectionDefaults: {
endCap: "ArrowEnd"
}
});
</script>