Permalink
Browse files

Small documentation fixes

git-svn-id: https://flot.googlecode.com/svn/trunk@231 1e0a6537-2640-0410-bfb7-f154510ff394
  • Loading branch information...
1 parent 569685f commit 815f80e7b1858125087ecd33fb9c5e1b0ce7d3cc olau@iola.dk committed Feb 9, 2010
Showing with 8 additions and 7 deletions.
  1. +1 −1 API.txt
  2. +7 −6 jquery.flot.stack.js
View
@@ -559,7 +559,7 @@ that the background is transparent. You can also set a gradient, see
the gradient documentation below.
You can turn off the whole grid including tick labels by setting
-"show" to false. "aboveData" determines whether the grid is drawn on
+"show" to false. "aboveData" determines whether the grid is drawn
above the data or below (below is default).
"tickColor" is the color of the ticks and "labelMargin" is the spacing
View
@@ -2,12 +2,13 @@
Flot plugin for stacking data sets, i.e. putting them on top of each
other, for accumulative graphs.
-The plugin assumes the data is sorted on x. For line charts, it is
-assumed that if a line has an undefined gap (from a null point), then
-the line above it should have the same gap - insert zeros instead of
-"null" if you want another behaviour. This also holds for the start
-and end of the chart. Note that stacking a mix of positive and negative
-values in most instances doesn't make sense (so it looks weird).
+The plugin assumes the data is sorted on x (or y if stacking
+horizontally). For line charts, it is assumed that if a line has an
+undefined gap (from a null point), then the line above it should have
+the same gap - insert zeros instead of "null" if you want another
+behaviour. This also holds for the start and end of the chart. Note
+that stacking a mix of positive and negative values in most instances
+doesn't make sense (so it looks weird).
Two or more series are stacked when their "stack" attribute is set to
the same key (which can be any number or string or just "true"). To

0 comments on commit 815f80e

Please sign in to comment.