zoomMax Number (default: 2)

The maximum zoom level in percentages. The user will not be allowed to zoom in past this level.

Example - applying a Diagram zoom level range

<div id="diagram"></div>
<script>
  $("#diagram").kendoDiagram({
    zoomMax: 1.5,
    zoomMin: 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>
In this article
Not finding the help you need?