提交 c16f78bb 编写于 作者: L lang

onBand bugfix

上级 7a1dd88a
...@@ -224,7 +224,7 @@ define(function(require, factory) { ...@@ -224,7 +224,7 @@ define(function(require, factory) {
yAxisModel.get('type'), yAxisModel.get('type'),
yAxisModel.get('position') yAxisModel.get('position')
); );
axisY.onBand = yAxisModel.get('boundaryGap'); axisY.onBand = yAxisModel.get('boundaryGap') && axisY.type === 'category';
axisY.inverse = yAxisModel.get('inverse'); axisY.inverse = yAxisModel.get('inverse');
yAxisModel.axis = axisY; yAxisModel.axis = axisY;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册