summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-12-14 13:27:39 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-12-14 13:27:39 +0000
commit1461a0dba1dc17cbae0963be3149fd1e8fe99698 (patch)
tree9ef6df5382f4e50b6ce5568891c38751943ae782 /libs
parent900515f0a6f63ae7b711de69e3a7c80735ca0259 (diff)
luci-statistics: don't plot data points where there are no data.
Converting NaN to zero for the sake of the cumulative stack in non-overlay mode is all very well. But we shouldn't then use that for displaying the graph. Make another variable %s_plot which *preserves* NaN from the input data, and then we don't get bogus data points drawn. Especially at the end of the graph this was problematic. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions