X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Findex.html;h=18208162bdf651275329d57baf21ec563c4ce6ad;hb=21ff17d117faed5a1654c4b5032c4a10d89fcd5a;hp=ab81d9034dcea71df163d2de42037546704bf812;hpb=672f92a0ad926bc4d01cbffc2f165c28f56b7b25;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.

+

Usage

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)

Other Options

-

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.

+ + + + + + @@ -526,7 +537,19 @@ dygraphs library.

object's valueOf method. +

Data Policy

+

dygraphs is purely client-side JavaScript. It does not send your data to any +servers -- the data is processed entirely in the client's browser.

+

Created May 9, 2008 by Dan Vanderkam

+ + + +
NameSample ValueDescription
includeZerotrue, falseUsually, 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.