From: Dan Vanderkam Date: Tue, 8 Dec 2009 22:56:47 +0000 (-0800) Subject: gviz documentation X-Git-Tag: v1.0.0~804^2~9 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=aaa21dc9f9a3a1d8f814d13eb5b8b1c2abe89b4b;p=dygraphs.git gviz documentation --- diff --git a/docs/index.html b/docs/index.html index 394577f..0bcea4b 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 @@ -389,6 +390,20 @@ 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.

    +

    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: