X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=docs%2Findex.html;h=b9eff5433f3653d0e82312a4e29a2067b9c6e1e5;hb=8d4465c486438c54fe424bf415d6852635572eb4;hp=1dafc3a746cdad923d2ecec88d5d519e0104cbab;hpb=2b2a2f1c1911023e1a88955959891d3c99e328aa;p=dygraphs.git
diff --git a/docs/index.html b/docs/index.html
index 1dafc3a..b9eff54 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -68,6 +68,7 @@
Noisy Data
Multiple Series
Custom Underlay / background
+ Tests for zoom operations
@@ -624,10 +625,10 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high)
zoomCallback |
- function(minDate, maxDate){} |
+ function(minDate, maxDate, yRanges){} |
null |
- A function to call when the zoom window is changed (either by zooming in or out). minDate and maxDate are milliseconds since epoch.
-
+ | A function to call when the zoom window is changed (either by zooming in or out). minDate and maxDate are milliseconds since epoch. yRanges is an array of [bottom, top] pairs, one for each y-axis.
+
|
@@ -852,7 +853,7 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high)
highlightCallback |
- function(event, x, points) |
+ function(event, x, points,row) |
null |
When set, this callback gets called every time a new point is highlighted. The parameters are the JavaScript mousemove event, the x-coordinate of the highlighted points and an array of highlighted points: [ {name: 'series', yval: y-value}, … ]
@@ -869,6 +870,20 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high)
|
+ underlayCallback |
+ function(canvas, area, dygraph) |
+ null |
+ When set, this callback gets called before the chart is drawn. It
+ allows you to draw underneath the chart. See the tests for more
+ details on how to use this.
+
+ |
+
+
+
strokeWidth |
0.5, 2.0 |
1.0 |