Browse Source

Fix horizontal axis label

pull/713/merge
Masayuki Tanaka 10 years ago
parent
commit
81b8d10d8d
  1. 2
      c3.js
  2. 2
      c3.min.js
  3. 2
      src/clip.js

2
c3.js

@ -4314,7 +4314,7 @@
return forHorizontal ? -(1 + left) : -(left - 1);
};
c3_chart_internal_fn.getAxisClipY = function (forHorizontal) {
return forHorizontal ? -10 : -4;
return forHorizontal ? -20 : -4;
};
c3_chart_internal_fn.getXAxisClipX = function () {
var $$ = this;

2
c3.min.js vendored

File diff suppressed because one or more lines are too long

2
src/clip.js

@ -11,7 +11,7 @@ c3_chart_internal_fn.getAxisClipX = function (forHorizontal) {
return forHorizontal ? -(1 + left) : -(left - 1);
};
c3_chart_internal_fn.getAxisClipY = function (forHorizontal) {
return forHorizontal ? -10 : -4;
return forHorizontal ? -20 : -4;
};
c3_chart_internal_fn.getXAxisClipX = function () {
var $$ = this;

Loading…
Cancel
Save