Commit 5a6476f4 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix x axis clip height

parent bd3f2beb
......@@ -4319,7 +4319,7 @@
return forHorizontal ? $$.width + 2 + left + right : $$.margin.left + 20;
};
c3_chart_internal_fn.getAxisClipHeight = function (forHorizontal) {
return forHorizontal ? this.margin.bottom : this.height + 8;
return (forHorizontal ? this.margin.bottom : this.height) + 8;
};
c3_chart_internal_fn.getXAxisClipWidth = function () {
var $$ = this;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -37,7 +37,7 @@ c3_chart_internal_fn.getAxisClipWidth = function (forHorizontal) {
return forHorizontal ? $$.width + 2 + left + right : $$.margin.left + 20;
};
c3_chart_internal_fn.getAxisClipHeight = function (forHorizontal) {
return forHorizontal ? this.margin.bottom : this.height + 8;
return (forHorizontal ? this.margin.bottom : this.height) + 8;
};
c3_chart_internal_fn.getXAxisClipWidth = function () {
var $$ = this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment