add HTML5 doctype to all tests
[dygraphs.git] / tests / data.js
index 75da280..5f61b95 100644 (file)
@@ -1,6 +1,5 @@
-function data() {
+function data_nolabel() {
 return "" +
-"Date,High,Low\n" +
 "20070101,62,39\n" +
 "20070102,62,44\n" +
 "20070103,62,42\n" +
@@ -368,6 +367,10 @@ return "" +
 "20071231,57,42\n";
 }
 
+function data() {
+  return "Date,High,Low\n" + data_nolabel();
+}
+
 function NoisyData() {
 return "" +
 "Date,A,B\n" +
@@ -432,3 +435,15 @@ return "" +
 "20061129,1.41093474427,0.495309102312,3.02013422819,0.701020603129";
 }
 
+function data_showzerovalues() {
+       return "" +
+       "20070101,0,39\n" +
+       "20070102,62,0\n" +
+       "20070103,0,42\n" +
+       "20070104,57,0\n" +
+       "20070105,65,44\n" +
+       "20070106,55,44\n" +
+       "20070107,0,45\n" +
+       "20070108,66,0\n" +
+       "20070109,0,39\n";
+       }