React Diagram - zoomLevel

Specifies the zoom level.

Type:

Number

|

Object

Default Value: 1

jQuery
JavaScript
$(function() {
    $("#diagram").dxDiagram({
        zoomLevel: 0.75,
    });
});

items

An array that specifies the zoom level items in the Zoom Level combobox on Properties panel.

Type:

Array<Number>

Default Value: undefined

jQuery
JavaScript
$(function() {
    $("#diagram").dxDiagram({
        zoomLevel: {
            value: 0.75,
            items: [0.5, 0.75, 1, 1.5]
        },
    });
});

value

Specifies the zoom level.

Type:

Number

Default Value: undefined