Commit 44bfd0a7 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Remove default padding for tick width of vertical axis - #151

parent 3a55f7df
...@@ -855,7 +855,7 @@ ...@@ -855,7 +855,7 @@
var box = this.getBoundingClientRect(); var box = this.getBoundingClientRect();
if (maxWidth < box.width) { maxWidth = box.width; } if (maxWidth < box.width) { maxWidth = box.width; }
}); });
return maxWidth < 30 ? 30 : maxWidth; return maxWidth < 0 ? 0 : maxWidth;
} }
function updateAxisLabels() { function updateAxisLabels() {
main.select('.' + CLASS.axisX + ' .' + CLASS.axisXLabel) main.select('.' + CLASS.axisX + ' .' + CLASS.axisXLabel)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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