X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Findex.html;h=a4fb76c1c951b9bf3c251c3767f689fa2b1d96c9;hb=7ca60bd1161dc1e4c623fb9def484fa20854149c;hp=394577fa9b17afd3149fe030d85b02936cfc6a3b;hpb=83607a740bacf88b52823a22d3a5127f5f2970fc;p=dygraphs.git diff --git a/docs/index.html b/docs/index.html index 394577f..a4fb76c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -57,6 +57,7 @@
  • Demo
  • Usage
  • IE Compatibility +
  • GViz Data
  • Baseball chart
  • Stock chart
  • Options Reference @@ -108,9 +109,9 @@

    dygraphs JavaScript Visualization Library
    http://github.com/danvk/dygraphs
    -See gallery and open issues

    +See downloads, gallery and open issues

    -

    The dygraphs JavaScript library produces produces interactive, zoomable charts of time series. It is designed to display dense data sets and enable users to explore and interpret them.

    +

    dygraphs is an open source JavaScript library that produces produces interactive, zoomable charts of time series. It is designed to display dense data sets and enable users to explore and interpret them.

    A demo is worth a thousand words:

    @@ -164,7 +165,7 @@ See
    gallery and

    Usage

    -

    To use dygraphs, include the dygraph-combined.js JavaScript file and instantiate a Dygraph object.

    +

    To use dygraphs, include the dygraph-combined.js JavaScript file and instantiate a Dygraph object.

    Here's a basic example to get things started:

    @@ -389,6 +390,25 @@ commas in parameter lists, e.g.

    Most browsers will ignore the trailing comma, but it will break under IE.

    +

    GViz Data

    +

    The Google + Visualization API provides a standard interface for describing data. Once +you've specified your data using this API, you can plug in any GViz-compatible +visualization. dygraphs is such a visualization.

    + +

    For a simple demonstration of how to use dygraphs a GViz visualization, see +this page. dygraphs can +also be used as a GViz gadget. This allows it to be embedded inside of a Google +Spreadsheet. For a demonstration of this, see this + spreadsheet. The URL for the gadget is +http://danvk.org/dygraphs/gadget.xml.

    + +

    Here's an example of a published gviz gadget using dygraphs:

    + + +

    Charting Fractions

    Situations often arise where you want to plot fractions, e.g. the fraction of respondents in a poll who said they'd vote for candidate X or the number of hits divided by at bats (baseball's batting average). Fractions require special treatment for two main reasons: