Uncaught TypeError: axis.getLabelsCoords is not a function
at Grid3DAxis.update (echarts-gl.min.js:38166)
at ExtendedClass.<anonymous> (echarts-gl.min.js:37267)
at Array.forEach (<anonymous>)
at ExtendedClass.render (echarts-gl.min.js:37266)
at echarts.js:26492
at Array.forEach (<anonymous>)
at each$1 (echarts.js:524)
at renderComponents (echarts.js:26490)
at render (echarts.js:26473)
at ECharts.update (echarts.js:25858)
配置项如下
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<script src = "echarts.js"></script>
<script src="http://libs.baidu.com/jquery/1.8.3/jquery.min.js"></script>
<script src = "echarts-gl.min.js"></script>
</head>
<body>
<div id="main" style="width:800px;height:600px;"></div>
<script type="text/javascript">
var chart = echarts.init(document.getElementById('main'));
chart.setOption({
grid3D: {},
xAxis3D: {},
yAxis3D: {},
zAxis3D: {},
series: [{
type: 'scatter3D',
symbolSize: 50,
data: [[-1, -1, -1], [0, 0, 0], [1, 1, 1]],
itemStyle: {
opacity: 1
}
}]
})
</script>
</body>
</html>