4 <meta http-equiv=
"X-UA-Compatible" content=
"IE=EmulateIE7; IE=EmulateIE9">
5 <title>numeric gviz
</title>
7 <script type=
"text/javascript" src=
"../excanvas.js"></script>
9 <script type=
"text/javascript" src=
"../strftime/strftime-min.js"></script>
10 <script type=
"text/javascript" src=
"../rgbcolor/rgbcolor.js"></script>
11 <script type=
"text/javascript" src=
"../dygraph-canvas.js"></script>
12 <script type=
"text/javascript" src=
"../dygraph.js"></script>
14 <script type=
"text/javascript" src=
"http://www.google.com/jsapi"></script>
16 <script type=
"text/javascript">
17 google.load(
"visualization",
"1", {
"packages":[
"columnchart"]});
18 google.setOnLoadCallback(drawchart);
20 function drawchart() {
22 "{cols:[{id:'point',label:'n',type:'number',pattern:''}," +
23 "{id:'0',label:'0',type:'number',pattern:''}," +
24 "{id:'stddev',label:'stddev',type:'number',pattern:''}]," +
25 "rows:[{c:[{v:0.0},{v:41.97},{v:17.86}]},{c:[{v:1.0},{v:11.71},{v:17.86}]},{c:[{v:2.0},{v:43.26},{v:17.86}]}]}";
26 data = new google.visualization.DataTable(eval('(' + tableString + ')'));
27 chart = new Dygraph.GVizChart(document.getElementById(
29 chart.draw(data, {errorBars: true, showRoller: true, includeZero: true });
34 <p>This tests that dygraphs can display gviz DataTable's with a numeric
36 <div id=
"graph" style=
"width: 800px; height: 400px;"></div>