From c4bdca79adb23e6e9f5d44f92afc591a337401b2 Mon Sep 17 00:00:00 2001 From: John Glover Date: Mon, 15 Apr 2013 17:10:41 +0200 Subject: [PATCH] [#340] Value of 30 in comment contradicts actual value in code (15) --- src/view.flot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view.flot.js b/src/view.flot.js index 018a2963..10bab4eb 100644 --- a/src/view.flot.js +++ b/src/view.flot.js @@ -208,7 +208,7 @@ my.Flot = Backbone.View.extend({ // for labels case we only want ticks at the label intervals // HACK: however we also get this case with Date fields. In that case we - // could have a lot of values and so we limit to max 30 (we assume) + // could have a lot of values and so we limit to max 15 (we assume) if (this.xvaluesAreIndex) { var numTicks = Math.min(this.model.records.length, 15); var increment = this.model.records.length / numTicks;