You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
437 B
18 lines
437 B
import * as echarts from 'echarts/lib/echarts';
|
|
var Axis3DModel = echarts.ComponentModel.extend({
|
|
type: 'cartesian3DAxis',
|
|
axis: null,
|
|
|
|
/**
|
|
* @override
|
|
*/
|
|
getCoordSysModel: function () {
|
|
return this.ecModel.queryComponents({
|
|
mainType: 'grid3D',
|
|
index: this.option.gridIndex,
|
|
id: this.option.gridId
|
|
})[0];
|
|
}
|
|
});
|
|
echarts.helper.mixinAxisModelCommonMethods(Axis3DModel);
|
|
export default Axis3DModel; |