Commit 1e685b04 authored by David Schnur's avatar David Schnur

Documented the zero option for bars and lines.

parent 790bbaf5
...@@ -669,6 +669,10 @@ series: { ...@@ -669,6 +669,10 @@ series: {
fillColor: null or color/gradient fillColor: null or color/gradient
} }
lines, bars: {
zero: boolean
}
points: { points: {
radius: number radius: number
symbol: "circle" or function symbol: "circle" or function
...@@ -737,6 +741,13 @@ y axis instead of the x axis; note that the bar end points are still ...@@ -737,6 +741,13 @@ y axis instead of the x axis; note that the bar end points are still
defined in the same way so you'll probably want to swap the defined in the same way so you'll probably want to swap the
coordinates if you've been plotting vertical bars first. coordinates if you've been plotting vertical bars first.
Area and bar charts normally start from zero, regardless of the data's range.
This is because they convey information through size, and starting from a
different value would distort their meaning. In cases where the fill is purely
for decorative purposes, however, "zero" allows you to override this behavior.
It defaults to true for filled lines and bars; setting it to false tells the
series to use the same automatic scaling as an un-filled line.
For lines, "steps" specifies whether two adjacent data points are For lines, "steps" specifies whether two adjacent data points are
connected with a straight (possibly diagonal) line or with first a connected with a straight (possibly diagonal) line or with first a
horizontal and then a vertical line. Note that this transforms the horizontal and then a vertical line. Note that this transforms the
......
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