Articles in this section

How to configure the printing size in Diagram

How to set a printing size in Diagram.

Diagram have option to assign the paper name for printing in the form of paper name’s size. The pageWidth and pageHeight properties will help to print the Diagram in the desired page size. 

 

 

Refer to the following code example to print the Diagram with specific size.

 

var options = { 
    //set the region of the diagram to be printed 
    region: "pageSettings", 
    // set the A3 paper size. 
    pageWidth: 1122, 
    pageHeight: 1587, 
    pageOrientation: ej.datavisualization.Diagram.PageOrientations.Portrait, 
    multiplePage: false 
}; 
diagram.print(options); 
 
 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied