提交 756a7d13 编写于 作者: S SHUANG SU 提交者: sushuang

fix: remove useless code.

上级 d6d62cff
......@@ -312,11 +312,6 @@ function fixOnBandTicksCoords(axis, ticksCoords, alignWithLabel, clamp) {
each(ticksCoords, function (ticksItem) {
ticksItem.coord -= shift / 2;
var tickCategoryInterval = 0;
// Avoid split a single data item when odd interval.
if (tickCategoryInterval % 2 > 0) {
ticksItem.coord -= shift / ((tickCategoryInterval + 1) * 2);
}
});
var dataExtent = axis.scale.getExtent();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册