diff --git a/API.txt b/API.txt index a99dd1a..36d85d1 100644 --- a/API.txt +++ b/API.txt @@ -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 diff --git a/jquery.flot.stack.js b/jquery.flot.stack.js index 21008d4..a31d5dc 100644 --- a/jquery.flot.stack.js +++ b/jquery.flot.stack.js @@ -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