From aaa21dc9f9a3a1d8f814d13eb5b8b1c2abe89b4b Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Tue, 8 Dec 2009 14:56:47 -0800 Subject: [PATCH] gviz documentation --- docs/index.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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:

    -- 2.7.4