X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Findex.html;h=b9eff5433f3653d0e82312a4e29a2067b9c6e1e5;hb=f99d913cd73b0d91850c09985237f6683713cdd2;hp=811b7b7e4fa2c22f727e1f207ad61fdf9490063a;hpb=1903f1e49133d38479059befb9dc50c7b622c826;p=dygraphs.git diff --git a/docs/index.html b/docs/index.html index 811b7b7..b9eff54 100644 --- a/docs/index.html +++ b/docs/index.html @@ -625,9 +625,9 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high) zoomCallback - function(minDate,
maxDate,
minValue,
maxValue){}
+ 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. minValue and maxValue are y-axis range values. + 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.
Tests: callback zoom
@@ -870,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. +
Tests: + underlay-callback + highlighted-region +
+ + + + strokeWidth 0.5, 2.0 1.0