From abfa54d48bfda36994e9fe747bc4ecfe18c9bbf9 Mon Sep 17 00:00:00 2001 From: Bob Monteverde Date: Thu, 22 Mar 2012 19:26:02 -0400 Subject: [PATCH] lineWithFocus now rescales the Y (needs optimization). Added different testing data. Added cumulative line example (still needs work, but functions). --- examples/cumulativeLine.html | 169 ++++++++++++++++++++++ examples/lineWithFocus.html | 10 +- examples/stream_layers.js | 35 +++++ src/d3.css | 17 +++ src/models/cumulativeLine.js | 269 +++++++++++++++++++++++++++++++++++ src/models/line.js | 3 +- src/models/lineWithFocus.js | 18 ++- 7 files changed, 517 insertions(+), 4 deletions(-) create mode 100644 examples/cumulativeLine.html create mode 100644 examples/stream_layers.js create mode 100644 src/models/cumulativeLine.js diff --git a/examples/cumulativeLine.html b/examples/cumulativeLine.html new file mode 100644 index 0000000..4418e5e --- /dev/null +++ b/examples/cumulativeLine.html @@ -0,0 +1,169 @@ + + + + + + + + +
+ +
+ + + + + + + + + + + diff --git a/examples/lineWithFocus.html b/examples/lineWithFocus.html index 2790e48..b1465d2 100644 --- a/examples/lineWithFocus.html +++ b/examples/lineWithFocus.html @@ -30,8 +30,15 @@ text { +