ant-move / echarts-aliapp Goto Github PK
View Code? Open in Web Editor NEWecharts-Aliapp components
echarts-Aliapp components
echarts-min.js有1.6M太大了,官网在线定制的在支付宝里面又用不了
const _Page = require("../../__antmove/component/componentClass.js")("Page");,我看这个都引用了
onShareAppMessage: function(res) { },
data: {
ec_data: {....}
ec: {
onInit: function(canvas, width, height) {
const oChart = echarts.init(canvas, null, {
width: width,
height: height
});
canvas.setChart(this.oChart);
oChart.setOption(this.ec_data); // 希望在这里使用 ec_data
return oChart;
}
},
onReady() {}
});
如上面的代码, 我希望重新画图, 是否可以不用重新赋值 ec, 而是赋值 ec_data, 这样是否有什么办法?
demo下载下来,图表在模拟器里不显示;
”或者仅拷贝 ec-canvas 目录到新建的项目下,然后做相应的调整。“在钉钉小程序里各种报错
想知道 _antdmove 是干嘛的 ?
为啥我这边引入后就报错了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.