Module: check_mk
Branch: master
Commit: a564f5844fe661f2441379dd715f23ff82397082
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a564f5844fe661…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 25 16:19:24 2016 +0100
Preparation for new style graph overview page
---
web/plugins/views/painters.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index 251c4f1..571bbee 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -869,12 +869,12 @@ def paint_time_graph(row):
return paint_time_graph_pnp(row)
-def paint_time_graph_new_style(row):
+def paint_time_graph_new_style(row, show_timerange_selection=False):
timerange_spec = get_painter_option("pnp_timerange")
vs = multisite_painter_options["pnp_timerange"]['valuespec']
start_time, end_time = map(int, vs.compute_range(timerange_spec)[0])
return "", metrics.render_time_graphs_from_host_service_row(row,
start_time, end_time, font_size=11,
- show_legend=True, show_controls=True)
+ show_legend=True, show_controls=True,
show_timerange_selection=True)
def paint_time_graph_pnp(row):