Hello,
My team has added the ruler from Diagram with Rulers to our diagram panel and we are trying to have it remain in view when we export/print the document via the makeSvg function. However, the ruler does not render in the makeSvg output. We originally thought it may have to do with layering, but we’re still seeing the grid in the output, and the ruler shares the same layer as the grid so we’re not sure where to look next. Any suggestions?
The ruler can be seen here in the normal diagram view:
However in the print preview, which shows the output of makeSvg, it is missing:
The code snippet calling makeSvg:
var img = this.diagram.makeSvg({
background: this.diagram.model.modelData.backgroundColor,
showGrid: true
});
Thanks!