Having trouble getting help?
Contact Support
Contact Support
Model
7 Jun 20191 minute to read
The Diagram model represents the data to render the Diagram and to manipulate the Diagram elements. The following code illustrates how to define Diagram model.
//Creates diagram
$("#Diagram").ejDiagram({
//Sets Diagram model properties
width: "100%",
height: "100%",
pageSettings: {
pageWidth: 2000,
pageHeight: 2000
}
});
To explore more model properties, refer to Model Properties.