Good catch. I'll update the pull request. Thanks

Sent from my iPhone

> On 2 May 2014, at 19:59, Rotem Hermon <notifications@github.com> wrote:
> 
> In json2flot.js:
> 
> > @@ -382,7 +382,7 @@
> >  					createChildMetrics(metric, metricResults, graph);
> >  					// now collect the metrics
> >  					var sortedMetrics = null;
> > -					if (metric.showTop && metric.showTop > 0)
> > +					if (metric.showTop && (metric.showTop > 0 || metric.showBottom > 0))
> If only showBottom is configured then this condition will not be met and it won't work as expected, no?
> Shouldn't this line be
> 
> if ((metric.showTop && metric.showTop > 0) || (metric.showBottom && metric.showBottom > 0))
> ?
> 
> —
> Reply to this email directly or view it on GitHub.