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

小程序里面似乎不能选用SVG渲染 #36

Closed
Ared123 opened this issue Mar 6, 2018 · 1 comment
Closed

小程序里面似乎不能选用SVG渲染 #36

Ared123 opened this issue Mar 6, 2018 · 1 comment

Comments

@Ared123
Copy link

Ared123 commented Mar 6, 2018

function initChart(canvas, width, height) {
chart = echarts.init(canvas, null, {
width: width,
height: height,
renderer: 'svg'//这么加会报错
});
canvas.setChart(chart);
xxxxx
}

@Ovilia
Copy link
Member

Ovilia commented Mar 7, 2018

是的,小程序里只能使用 Canvas

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

2 participants