summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Rueckstiess <thomas@rueckstiess.net>2014-12-15 17:35:58 +1100
committerThomas Rueckstiess <thomas@rueckstiess.net>2015-01-06 15:59:04 +1100
commitee42b2e91a7045cb785d3c130918a4ae6fc6d9c6 (patch)
treec3a912a605b8a9ee40ac1ee9133ed0abafd9f501 /tools
parent474cb1345128ebb48c7b3d7fb987e0c4f8036e43 (diff)
downloadmongo-ee42b2e91a7045cb785d3c130918a4ae6fc6d9c6.tar.gz
--right support (multiChart)
Diffstat (limited to 'tools')
-rw-r--r--tools/wtstats.html.template9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/wtstats.html.template b/tools/wtstats.html.template
index 1c9b74105f2..e1c67131ff3 100644
--- a/tools/wtstats.html.template
+++ b/tools/wtstats.html.template
@@ -35,8 +35,13 @@
chart.margin({top: 30, right: 60, bottom: 20, left: 60})
chart.xAxis
.tickFormat(xFormat);
- chart.yAxis
- .tickFormat(d3.format(',g'));
+
+ if (chartType === 'multiChart') {
+ chart.yAxis1.tickFormat(d3.format(',g'));
+ chart.yAxis2.tickFormat(d3.format(',g'));
+ } else {
+ chart.yAxis.tickFormat(d3.format(',g'));
+ }
chart.showLegend(true);
console.log(data_statlog);