X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=docs%2Findex.html;h=c2d120d8bc2867278c565a0ce98d4facf6c77503;hb=88b1e0523dbc8d0dd9186592e8b633ccb014adbe;hp=1dafc3a746cdad923d2ecec88d5d519e0104cbab;hpb=f30cf7405c2071be3b802bc569e2cab5a7675afa;p=dygraphs.git
diff --git a/docs/index.html b/docs/index.html
index 1dafc3a..c2d120d 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -34,6 +34,7 @@
Source
Issues
Report Bug
+ Contribute a change
Contact
@@ -68,6 +69,8 @@
Noisy Data
Multiple Series
Custom Underlay / background
+ Tests for zoom operations
+ Log scale tests
@@ -624,10 +627,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.
+
|
@@ -728,7 +731,7 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high)
pointSize |
- interger |
+ integer |
1 |
The size of the dot to draw on each point in pixels (see drawPoints). A dot is always drawn when a point is "isolated", i.e. there is a missing point on either side of it. This also controls the size of those dots.
Tests: none
@@ -852,7 +855,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 +872,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 |
@@ -930,6 +947,38 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high)
+
+ logscale |
+ boolean |
+ false |
+
+ When set for a y-axis, the graph shows that axis in y-scale. Any values less than or equal
+ to zero are not displayed.
+
+ Not compatible with showZero, and ignores connectSeparatedPoints. Also, showing log scale
+ with valueRanges that are less than zero will result in an unviewable graph.
+
+
+ |
+
+
+
+ legend |
+ string |
+ 'onmouseover' |
+
+ Set this to 'always' to always display a legend on the chart.
+
+ This option has some overlapping functionality with
+ 'hideOverlayOnMouseOut' and 'showLabelsOnHighlight'. It's likely
+ that these options will be consolidated in the future.
+
+
+ |
+
+