X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Findex.html;h=18208162bdf651275329d57baf21ec563c4ce6ad;hb=21ff17d117faed5a1654c4b5032c4a10d89fcd5a;hp=ab81d9034dcea71df163d2de42037546704bf812;hpb=73a464171469a18a7f2cc55a98762c4b31e3754f;p=dygraphs.git diff --git a/docs/index.html b/docs/index.html index ab81d90..1820816 100644 --- a/docs/index.html +++ b/docs/index.html @@ -86,6 +86,8 @@ ); +
For more demos, browse the dygraph tests directory.
+The dygraphs library depends on two other JS libraries: MochiKit and PlotKit. Rather than tracking down copies of these libraries, I recommend using a packed version of dygraphs that combines all three libraries into a single JS file. Either grab this file from dygraph project's downloads page or create it yourself by checking out a copy of the code and running: @@ -313,11 +315,20 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high)
These are the options that can be passed in through the optional third parameter of the Dygraph constructor.
+These are the options that can be passed in through the optional third parameter of the Dygraph constructor. To see demonstrations of many of these options, browse the dygraphs tests directory.
Name | Sample Value | Description |
---|---|---|
includeZero | +true, false |
+ Usually, dygraphs will use the range of the data plus some padding to + set the range of the y-axis. If this option is set, the y-axis will always + include zero, typically as the lowest value. This can be used to avoid + exaggerating the variance in the data. | +
rollPeriod | 7 |
Number of days over which to average data. Discussed extensively above. | @@ -526,7 +537,19 @@ dygraphs library. object's valueOf method. +