Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
a53c7340
Commit
a53c7340
authored
Jul 02, 2014
by
antirez
Browse files
LATENCY GRAPH: filling under the curve is more readable.
parent
aa16f87b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/latency.c
View file @
a53c7340
...
...
@@ -182,7 +182,7 @@ sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) {
for
(
j
=
0
;
j
<
LATENCY_GRAPH_COLS
;
j
++
)
graph
=
sdscatlen
(
graph
,
"-"
,
1
);
graph
=
sdscatlen
(
graph
,
"
\n
"
,
1
);
graph
=
sparklineRender
(
graph
,
seq
,
LATENCY_GRAPH_COLS
,
4
,
SPARKLINE_
NO_FLAGS
);
graph
=
sparklineRender
(
graph
,
seq
,
LATENCY_GRAPH_COLS
,
4
,
SPARKLINE_
FILL
);
freeSparklineSequence
(
seq
);
return
graph
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment