Could we draw line using code? dynamically
Use sin/cos to have curved ine draw based on events?
Look this: http://www.w3schools.com/html/html5_canvas.asp
Well you would need to use html5 canvas to do that, no html markup code exists for such a requirement. Here is a complete demo to your query http://www.tutorialspark.com/html5/HTML5_Canvas_Lines.php .
Retrieving data ...