From 41ca92a3d17cd861c91adf2fd2f11c4207da061d Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 27 Oct 2012 19:46:27 +0200 Subject: [PATCH] off by one in Ox.Chart --- source/Ox.UI/js/List/Chart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/List/Chart.js b/source/Ox.UI/js/List/Chart.js index 632d3631..54382a3b 100644 --- a/source/Ox.UI/js/List/Chart.js +++ b/source/Ox.UI/js/List/Chart.js @@ -212,7 +212,7 @@ Ox.Chart = function(options, self) { } else { $element = $('
') .css({ - width: Math.round(self.totals[data.key] / self.max * self.valueWidth) + 'px', + width: Math.ceil(self.totals[data.key] / self.max * self.valueWidth) + 'px', height: '14px', marginLeft: '-4px' });