Sono andato su "http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm ", ho scaricato "wz_jsgraphics.js " e ho scritto il seguente codice:

codice:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Rappresentazione Grafica</title>

<script type="text/javascript" src="wz_jsgraphics.js"></script>

<script type="text/javascript">
 
 function draw()
 {
  var cnv = document.getElementById("disegno");
  var jg = new jsGraphics(cnv);

  jg.setColor("#ff0000"); // red
  jg.drawLine(10, 113, 220, 55); // co-ordinates related to "myCanvas"
  jg.setColor("#0000ff"); // blue
  jg.fillRect(110, 120, 30, 60);
  jg.paint();
 }
</script>
  
</head>
<body onload="draw()">
 <canvas id="disegno" width="400" height="200"></canvas>
</body>
</html>
... ma non funziona in locale dove ho installato l'IIS !! Qualcuno sà il perché ?

Grazie mille.

Vincenzo