This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kibble.git
commit bb379bffb2578cc44864216ce6bec85fc8bb196e Author: Daniel Gruno <humbed...@apache.org> AuthorDate: Fri Feb 16 22:25:57 2018 +0100 allow finer histograms, upon request --- ui/js/coffee/widget_linechart.coffee | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/js/coffee/widget_linechart.coffee b/ui/js/coffee/widget_linechart.coffee index 0df7c2d..ab91a00 100644 --- a/ui/js/coffee/widget_linechart.coffee +++ b/ui/js/coffee/widget_linechart.coffee @@ -155,7 +155,11 @@ linechart = (json, state) -> state.widget.inject(mk('br')) state.widget.inject(txt("Select interval: ")) state.widget.inject(list) - for item in ['day','week','month','quarter','year'] + histograms = ['day','week','month','quarter','year'] + # Some charts may require finer grained precision (CI Queues etc) + if state.widget.wargs and state.widget.wargs.histogram == 'hour' + histograms.unshift('hour') + for item in histograms opt = document.createElement('option') opt.value = item opt.text = item -- To stop receiving notification emails like this one, please contact humbed...@apache.org.