projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure that canvasx and canvasy properties are initialized from the start (#896)
[dygraphs.git]
/
gallery
/
data.js
diff --git
a/gallery/data.js
b/gallery/data.js
index
bbccab0
..
3ab0b66
100644
(file)
--- a/
gallery/data.js
+++ b/
gallery/data.js
@@
-2683,3
+2683,11
@@
var stockData = function() {
"2009-09-15,9280.67;9712.28;9829.87,4297.2232125907;4497.07133894216;4551.51896800004\n" +
"2009-10-15,9487.67;9712.73;10092.2,4388.84340147194;4492.9525342659;4668.48924723722\n";
};
"2009-09-15,9280.67;9712.28;9829.87,4297.2232125907;4497.07133894216;4551.51896800004\n" +
"2009-10-15,9487.67;9712.73;10092.2,4388.84340147194;4492.9525342659;4668.48924723722\n";
};
+
+function dataManyPoints() {
+ var data = [];
+ for (var i = 0; i < 1000000; ++i) {
+ data[i] = [i, i % 1009, i % 1013, i % 1019, i % 1021]
+ }
+ return data
+}