Diagram polyline drawing manually End

Hi,

I am using polyline into diagram however there is issue in iPad so I would like to add temporary solution until I get response from support team.

Is there anyway I can double click into canvas using Jquery and clear current drawing object?

var diagram = document.getElementById("diagram").ej2_instances[0];

var drawingObject = { type: 'Polyline', sourceDecorator: { shape: "None"}, targetDecorator: {shape: "None"}};

if (drawingObject) {

            diagram.drawingObject = drawingObject;

            diagram.tool = ej.diagrams.DiagramTools.DrawOnce;

            diagram.dataBind();

        }

I am looking for quick solutions.

Thanks


1 Reply

MG Moulidharan Gopalakrishnan Syncfusion Team October 21, 2024 10:02 AM UTC

Hi,


Since you have raised a ticket for the same query, please follow up on that ticket for further updates. If you need any additional assistance, please let us know. As always, we are happy to help you.

 

Regards,
Moulidharan


Loader.
Up arrow icon