Comments (1)
using default world map instead of 3rd party bmap to make it simpler - Demo Code.
When zlevel is not specified (default is 0 for both map and lines), there are two canvas elements:
- data-zr-dom-id="zr_0" for the map
- data-zr-dom-id="zr_undefined" for series "lines"
When only series has zlevel:1 the series canvas' id changes to data-zr-dom-id="zr_1"
.
When both map & series have zlevel:1 there is only one canvas data-zr-dom-id="zr_1"
.
You are expecting only one canvas with default zlevel:0
.
This anomaly, I believe, only exists with maps. Technically it's not a bug since the official API does not elaborate on canvases or their number. Also it seems not a big coding challenge to find all canvases in the chart container and go from there.
from echarts.
Related Issues (20)
- 在线定制后怎么引入啊? HOT 2
- [Feature] Add more attribute for event from "triggerLineEvent" in series options for line chart
- 各位大佬们,请教一个问题,我用type: 'custom', 画置信椭圆的时候,坐标轴变了,api.coord方法传入一样的参数,出来的结果不一样,椭圆超出画布了 HOT 1
- [Bug] labelLayout is not work HOT 1
- [Bug] make pie chart labels different in color HOT 2
- [Bug] appendData 方法不好使,网格类型的热力图,使用appendData后,数据没有更新,界面没有现在新增 HOT 3
- How to do samplinge, when echarts series type is custom? HOT 1
- [Bug] series中type为line的数据,设置showSymbol为false,点legend隐藏数据后,鼠标悬浮过的数据无法隐藏 HOT 5
- [Bug] Symbol doesn't appear on polyline HOT 1
- [Feature] Enhance text styling for visualMap labels HOT 2
- [Feature] I hope that the color of the heat map can support the configuration of custom scale values, and the heat map color can be smoothly transitioned HOT 1
- 堆叠图线条错乱 HOT 4
- graph类型图超出二维坐标系的图形不会 HOT 2
- [Bug] Click Event On Series Label HOT 1
- [Bug] Treemap doesnot work! HOT 2
- [Feature] Styling Image symbols on scatter chart HOT 2
- [Feature] Could legend item support the text and icon display vertically? HOT 2
- 如何使用Echarts完成心电图 HOT 3
- [Feature] 添加Canvas元素的style设置 HOT 5
- [Feature] Add option for dynamically calculated label position for bar type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from echarts.