Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wepy 如何兼容echarts呢? #1010

Closed
LoserMr opened this issue Mar 1, 2018 · 6 comments
Closed

wepy 如何兼容echarts呢? #1010

LoserMr opened this issue Mar 1, 2018 · 6 comments

Comments

@LoserMr
Copy link

LoserMr commented Mar 1, 2018

组件的方式移植了一遍 没有出来 有大神能给个模板么

@LoserMr
Copy link
Author

LoserMr commented Mar 1, 2018

@Gcaufy
Copy link
Collaborator

Gcaufy commented Mar 2, 2018

现在开发的一个版本将会支持这个

@LoserMr
Copy link
Author

LoserMr commented Mar 2, 2018

@BernersH
Copy link

BernersH commented Mar 14, 2018

<ec-canvas id="mychart-dom-line" canvas-id="mychart-line" ec="{{ ec }}" ></ec-canvas>

js:

config = { "usingComponents": { "ec-canvas": "./../../lib/ec-canvas" }

这样使用就好了 那个echarts自带了components

@shangdev
Copy link

@BernersH
这样子引入图表不能渲染出来,怎么解决的?

@Gcaufy
Copy link
Collaborator

Gcaufy commented May 18, 2018

@shangdev 查看以上评论中我的回复

ecomfe/echarts-for-weixin#7 (comment)

@Gcaufy Gcaufy closed this as completed May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants