提交 46a89510 编写于 作者: O Ovilia 提交者: sushuang

fix: last axis label duplicated, fix #10304

上级 b6ab2115
......@@ -322,7 +322,7 @@ function makeLabelsByNumericCategoryInterval(axis, categoryInterval, onlyTick) {
addItem(tickValue);
}
if (includeMaxLabel && tickValue !== ordinalExtent[1]) {
if (includeMaxLabel && tickValue - step !== ordinalExtent[1]) {
addItem(ordinalExtent[1]);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册