提交 262443c1 编写于 作者: L lang

Merge branch 'master' of https://github.com/pissang/echarts-next

......@@ -485,7 +485,7 @@ define(function(require) {
if (hasAnimation) {
clipPath.shape.endAngle = -angleExtent[0] * RADIAN;
graphic.initGraphicEl(clipPath, {
graphic.initProps(clipPath, {
shape: {
endAngle: -angleExtent[1] * RADIAN
}
......
......@@ -56,7 +56,6 @@ define(function (require) {
var axisGroup = axisBuilder.getGroup();
this.group.add(axisGroup);
this.group.z = axisModel.get('z');
this._buildSelectController(
axisGroup, areaSelectStyle, axisModel, api
......
......@@ -25,8 +25,8 @@ define(function(require) {
});
function getAxisType(axisDim, option) {
// Default xAxis and axis with data is category axis
return option.type || ((axisDim === 'x' || option.data) ? 'category' : 'value');
// Default axis with data is category axis
return option.type || (option.data ? 'category' : 'value');
}
zrUtil.merge(AxisModel.prototype, require('../axisModelCommonMixin'));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册