off by one in Ox.Chart
This commit is contained in:
parent
dc0d652c4e
commit
41ca92a3d1
1 changed files with 1 additions and 1 deletions
2
source/Ox.UI/js/List/Chart.js
vendored
2
source/Ox.UI/js/List/Chart.js
vendored
|
@ -212,7 +212,7 @@ Ox.Chart = function(options, self) {
|
||||||
} else {
|
} else {
|
||||||
$element = $('<div>')
|
$element = $('<div>')
|
||||||
.css({
|
.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',
|
height: '14px',
|
||||||
marginLeft: '-4px'
|
marginLeft: '-4px'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue