X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=docs%2Findex.html;h=f8ad9378a406d212b444fc9e6525bc53bf88113e;hb=cd12bba0d1895c8a28eee36771be72e21873f88e;hp=fe3635602b0b8f12aaf298465b5d36593963437f;hpb=2281c331738f2dad5dfdae69ffd89e558d3bd2d1;p=dygraphs.git
diff --git a/docs/index.html b/docs/index.html
index fe36356..f8ad937 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -34,6 +34,7 @@
Source
Issues
Report Bug
+ Contribute a change
Contact
@@ -625,9 +626,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.
|
@@ -853,7 +854,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}, … ]
@@ -870,6 +871,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 |