Widget:TestingjqPlot

This is a test of making a widget that uses jqPlot a pure javascript plotting package. /*<![CDATA[*/ $(function { var deps = ["http://b.oer.me/js/jqplot/jquery.jqplot.min.js",    "http://b.oer.me/js/jqplot/plugins/jqplot.canvasTextRenderer.min.js",    "http://b.oer.me/js/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js"];  $('head').append('');  function doPlot {    $.getScript(deps.shift, function { if (deps.length) { doPlot; } else { $('#chart1').html(' '); var plot1 = $.jqplot("chart1", [][2,4],[4,8.2],[6,11.8],{ title:"""Test jqPlot", axesDefaults: { labelRenderer: $.jqplot.CanvasAxisLabelRenderer}, series:[{showLine:false, markerOptions: { style:"", size: } }], axes: { xaxis: { label: """X Axis"}, yaxis: { label: """Y Axis"} } }); }   });  }  doPlot; }); /*]]>*/ 