LATENCY GRAPH: filling under the curve is more readable.

This commit is contained in:
antirez 2014-07-02 16:37:53 +02:00
parent aa16f87b87
commit a53c734094

View File

@ -182,7 +182,7 @@ sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) {
for (j = 0; j < LATENCY_GRAPH_COLS; j++) for (j = 0; j < LATENCY_GRAPH_COLS; j++)
graph = sdscatlen(graph,"-",1); graph = sdscatlen(graph,"-",1);
graph = sdscatlen(graph,"\n",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); freeSparklineSequence(seq);
return graph; return graph;
} }