X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Findex.html;h=0c80ef482679a59dc831f45f15059a5c2323c976;hb=eca085ecfb71db2647c00a9f4e528128878d8372;hp=cd23af949c0532fb2c4eb8f57ddb1033b25078f4;hpb=9f006dbf910e73b6314d8829109e9add7f3648be;p=dygraphs.git diff --git a/docs/index.html b/docs/index.html index cd23af9..0c80ef4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -23,8 +23,8 @@
dygraphs JavaScript Library
- (Contact: Dan Vanderkam)
dygraphs JavaScript Library
+ code.google.com/p/dygraphs
The dygraphs JavaScript library produces produces interactive, zoomable charts of time series based on CSV files.
@@ -43,8 +43,7 @@- + | -
A rolling average can always be set using the text box in the lower left-hand corner of the graph.
+A rolling average can be set using the text box in the lower left-hand corner of the graph (the showRoller attribute is what makes this appear).
Another significant feature of the dygraphs library is the ability to display error bars around data series. One standard deviation must be specified for each data point. A +/-n sigma band will be drawn around the data series at that point. If a moving average is being displayed, DateGraph will compute the standard deviation of the average at each point. (i.e. σ = sqrt((σ_1^2 + σ_2^2 + ... + σ_n^2)/n))
@@ -249,6 +250,7 @@ g = new DateGraph( "twonormals.csv", null, { rollPeriod: 7, + showRoller: true, errorBars: true, valueRange: [50,125] } @@ -266,6 +268,7 @@ new DateGraph( "twonormals.csv", null, { rollPeriod: 14, + showRoller: true, errorBars: true, valueRange: [50, 125] } @@ -281,6 +284,26 @@ new DateGraph(This chart shows monthly closes of the Dow Jones Industrial Average, both in nominal and real (i.e. adjusted for inflation) dollars. The shaded areas show its monthly high and low. CPI values with a base from 1982-84 are used to adjust for inflation.
+ + + + +These are the options that can be passed in through the fourth parameter of the DateGraph constructor.
@@ -291,6 +314,10 @@ new DateGraph(7
true
['red', '#00FF00']