Open client9 opened 11 years ago
I couldn't find any mention of "linemode" in the flot documentation? can you explain more what you're trying to do?
http://graphite.readthedocs.org/en/0.9.10/render_api.html#linemode
is the same as
"steps" in blots https://github.com/flot/flot/blob/master/API.md
For lines, "steps" specifies whether two adjacent data points are connected with a straight (possibly diagonal) line or with first a horizontal and then a vertical line. Note that this transforms the data by adding extra points.
(more or less)
On 2013/04/23, at 0:55, Dieter Plaetinck notifications@github.com wrote:
I couldn't find any mention of "linemode" in the flot documentation? can you explain more what you're trying to do?
$B!=(B Reply to this email directly or view it on GitHub.
right, now I get it. Your approach actually looks pretty right, but i would set steps = true, not lineMode, in that first branch, because we're setting flot options based on graphite options. it's awkward to use graphite terminology in the actual flot config.
nice project!
It is likely I'm Doing This Wrong, so I'm not doing a full branch.
But this patch adds staircase mode to Flot.