ecomfe / echarts-stat

Statistics tool for Apache ECharts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue.js里如何使用?报ecStat is not defined错误

Gmle7 opened this issue · comments

commented

和平常一样直接var吗?有没有关于在vue里使用ecstat的详细教程啊?

commented

已经解决了,在vue里知道怎么用了,npm install之后,还需要import ecStat from 'echarts-stat'。不过现在回归线出来了,但是方程出不来。不知道是什么原因

commented

已解决,麻烦嘞

// import ecStat from 'echart-stat' 我遇到了同样的问题 请问// import ecStat from 'echart-stat'在哪个文件导入 谢谢

commented

在main.js 里引入