Commit 815f80e7 authored by olau@iola.dk's avatar olau@iola.dk

Small documentation fixes


git-svn-id: https://flot.googlecode.com/svn/trunk@231 1e0a6537-2640-0410-bfb7-f154510ff394
parent 569685fb
...@@ -559,7 +559,7 @@ that the background is transparent. You can also set a gradient, see ...@@ -559,7 +559,7 @@ that the background is transparent. You can also set a gradient, see
the gradient documentation below. the gradient documentation below.
You can turn off the whole grid including tick labels by setting 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). above the data or below (below is default).
"tickColor" is the color of the ticks and "labelMargin" is the spacing "tickColor" is the color of the ticks and "labelMargin" is the spacing
......
...@@ -2,12 +2,13 @@ ...@@ -2,12 +2,13 @@
Flot plugin for stacking data sets, i.e. putting them on top of each Flot plugin for stacking data sets, i.e. putting them on top of each
other, for accumulative graphs. other, for accumulative graphs.
The plugin assumes the data is sorted on x. For line charts, it is The plugin assumes the data is sorted on x (or y if stacking
assumed that if a line has an undefined gap (from a null point), then horizontally). For line charts, it is assumed that if a line has an
the line above it should have the same gap - insert zeros instead of undefined gap (from a null point), then the line above it should have
"null" if you want another behaviour. This also holds for the start the same gap - insert zeros instead of "null" if you want another
and end of the chart. Note that stacking a mix of positive and negative behaviour. This also holds for the start and end of the chart. Note
values in most instances doesn't make sense (so it looks weird). 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 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 the same key (which can be any number or string or just "true"). To
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment