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

关于简单柱形图加入地图时,series字段中存在coordinates则报错 Cannot read properties of null (reading 'getCode')问题, #124

Open
zzzzz000 opened this issue Oct 17, 2024 · 3 comments

Comments

@zzzzz000
Copy link

求解惑!!!!!!!!!!!!
问题详述:
当柱形图配置对象中series不加coordinates值,柱形图能正常显示,但相对屏幕固定;当加入coordinates值则报错,报错详情如下图
报错如下:
image

插件版本:
{
"ol": "^7.5.2",
"ol-echarts": "^4.0.1",
"echarts": "^5.5.1",
"vue": "^3.2.41",
}

@zzzzz000
Copy link
Author

@zzzzz000
Copy link
Author

经过调试,发现是坐标系问题,请问是不支持4490坐标系吗?亦或者是我4490坐标系的projection参数传入不当,如果支持,4490坐标系又该如何配置呢?
dac60319afaf3d9691032910b9fe51f
image

@sakitam-fdd
Copy link
Owner

@zzzzz000 我这里测试看起来是正常的 https://blog.sakitam.com/ol3Echarts/docs/playgrounds/line-with-4490

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