X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Findex.html;h=928b121da786a2923fc7ec3b027c558d0e0b6e6f;hb=c65f2303664330f03787d4e0bc7da5f2d9b4bc5f;hp=31cb325d4193437998640c8e679fec8f43a89243;hpb=f3975624f80b8d821ae1ed6eed240d79bd1606da;p=dygraphs.git diff --git a/docs/index.html b/docs/index.html index 31cb325..928b121 100644 --- a/docs/index.html +++ b/docs/index.html @@ -19,6 +19,7 @@
  • Baseball chart
  • Stock chart
  • Options Reference
  • +
  • GWT Compatibility
  • Data Policy
  • @@ -38,6 +39,7 @@
  • Performance Test
  • Filled Chart
  • Fractions
  • +
  • Visibility
  • Labels in a DIV
  • Numeric Axis
  • Dotted Points
  • @@ -56,6 +58,8 @@
  • Negative Numbers
  • Noisy Data
  • Multiple Series
  • +
  • Custom Underlay / background
  • +
  • Tests for zoom operations
  • @@ -110,7 +114,7 @@
  • Lightweight (45kb) and responsive
  • Displays values on mouseover (this makes it easily discoverable)
  • Supports error bands around data series
  • -
  • Interactive zoom
  • +
  • Interactive zoom and pan
  • Adjustable averaging period
  • Can intelligently chart fractions
  • Customizable click-through actions
  • @@ -174,7 +178,7 @@ -

    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 order to keep this example self-contained, the second parameter is raw CSV data. The dygraphs library parses this data (including column headers), resizes 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)

    @@ -429,9 +433,16 @@ new Dygraph(el, data, {

    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.

    +

    Display: + + + + +

    +