X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Findex.html;h=e75c9a4c8b4e5bf22ebc21fcd0fa80ba3545d095;hb=97b3a80c062b4f67169490e28698ce8d9b6728fa;hp=ab6d92b99f52a828f53029500317a38b62dd3c4c;hpb=fe57a69b082bf92bad82593c8801caa367516ae4;p=dygraphs.git diff --git a/docs/index.html b/docs/index.html index ab6d92b..e75c9a4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -31,14 +31,16 @@ top: 0px; border-left: 2px solid rgb(229, 236, 249); padding-left: 10px; + margin-left: 0px; } #nav ul { list-style: none; padding-left: 20px; + margin-left: 0px; } #nav ul ul { - padding-left: 1em; + padding-left: 0.5em; padding-bottom: 1em; } #nav ul ul li { @@ -74,6 +76,7 @@
  • GViz Demo
  • Equation Plotter
  • Performance Test +
  • Fractions
  • Labels in a DIV
  • Numeric Axis @@ -178,7 +181,7 @@ See gallery and gallery and - + +

    In order to keep this example self-contained, the second parameter is raw CSV data. The dygraphs library parses this data (including column headers), resizes the its container to a reasonable default, calculates appropriate axis ranges and tick marks and draws the graph.

    In most applications, it makes more sense to include a CSV file instead. If the second parameter to the constructor doesn't contain a newline, it will be interpreted as the path to a CSV file. The Dygraph will perform an XMLHttpRequest to retrieve this file and display the data when it becomes available. Make sure your CSV file is readable and serving from a place that understands XMLHttpRequest's! In particular, you cannot specify a CSV file using "file:///". Here's an example: (data from Weather Underground)

    @@ -227,14 +231,15 @@ See gallery and - + +

    Click here to view the temperatures.csv file. There are a few things to note here: