1
0
Fork 0

Fix SAC axis marks width issue

This commit is contained in:
Gregory Eremin 2015-03-19 17:04:47 +07:00
parent 43ab863cc3
commit 6d1e181db4
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ var Axis = React.createClass({
}
var renderMark = function(week, i) {
var len = this.props.weeks.length,
x = i/(len - 1)*this.props.width,
x = i/(len - 1)*this.props.width + 1,
showLabel,
ta = (i === 0 // Text anchor for the leftmost label
? 'start'