script>

<script type="text/javascript">

document.addEventListener("DOMContentLoaded",function () {


    // create the canvas for the user interaction
    //
    var canvas = new draw2d.Canvas("gfx_holder");

    var testData = [];
    for(var i=0;i<100;i++) {
       testData.push(Math.floor(Math.random() * 100));
    }

    var sparkline = new draw2d.shape.diagram.Sparkline({width:200, height:80});
    sparkline.setData(testData);
    canvas.add( sparkline,100,60);
    canvas.add(new draw2d.shape.basic.L