Comments (5)
@Fnxxxxo It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
[Feature] Add style settings for Canvas element
from echarts.
外部元素指的是除 echarts 容器之外的 HTML 元素?
from echarts.
@plainheart 对的。我有一个外部的通栏跑马灯,穿过地图。如果有办法能给canvas上z-index,遮挡问题会好解决。对应的如果添加了这个配置,任何涉及外部元素和画布的遮挡问题,就可以在H5体系下解决,在canvas里规划zlevel,然后把需要突出的层单独与H5做布局处理
from echarts.
可以尝试如下两种方式:
1、CSS 选择器
canvas[data-zr-dom-id="zr_你的canvas序号"]
2、通过 API 获取到 Canvas Layer 对应的 DOM 元素
myChart.getZr().painter.getLayer(Canvas序号).dom.style.zIndex = xxx
Canvas 序号即
zlevel
from echarts.
This issue is closed due to not being active. Please feel free to open it again (for the author) or create a new one and reference this (for others) if you have further questions.
from echarts.
Related Issues (20)
- [Bug] type custom 绘制矩形,数据量大时缩放时会出现颜色变淡,甚至没有颜色的情况 HOT 2
- [Bug] How to display details about objects which are behind the clicked/hovered object. HOT 2
- 手机端H5 使用echarts,我需要点击折线图或柱状图的时候获取seriesName,可是试了好多方法获取不到,涉及到多系列柱状图和折线图 HOT 1
- [Bug] Gauge progress 'auto' color not reflected when using SVG renderer
- [Bug] Brush unable to detect exact selected value in Funnel, Radar & Gauge HOT 2
- [Bug] Unable to set multiple legend rows, when legend type is scroll. HOT 2
- [Support] Multiples X-Axis HOT 5
- is there possible to enable decal pattern on mouse hover HOT 1
- [Bug] Tooltip Formatter - Map chart - data parameter is undefined.... HOT 1
- Bar chart adds extra space outside of timerange
- [Bug] After calling clear, there are still remnants in the chart HOT 1
- [Cooperation] Introduction of VTable - Collaboration Opportunity HOT 7
- [Feature] limit the movement boundary of the brush box
- [Bug] Weather Statistics Example Dosen't work
- [Bug] Bar chart display bug using the data drilldown transition animation HOT 1
- [Bug] When the x-axis type of the histogram is time and the time of the data in the series is discontinuous, the zoom range is limited. Use datazoom to zoom in. There will be problems with the zoom effect. HOT 3
- [Bug] series同时使用type: 'graph',type: 'lines',series ——type'graph'中配置emphasis: { focus: 'adjacency'},鼠标hover就报错,开发版本中会导致页面崩溃
- [Feature] roam配置能否支持移动鼠标时,整个graph也跟着移动 HOT 3
- [Bug] geo.select.disabled 设置为true,不生效 HOT 7
- [Bug] series下使用 type: 'sankey', 时数据量过大的情况下内容展示不完整 HOT 1
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.