Svg elements do not support the Z-index attribute, so it is useless to set this. If you want to set the hierarchical relationship between SVG elements and Z axis, you can use the following method:
1. The elements created later will be superimposed on the previous elements. If you want to put an element at the top level, you can create it at last
2. Use D3 API sort insert to adjust the generation order of elements
Similar Posts:
- AttributeError: ‘tuple’ object has no attribute ‘extend’
- [Solved] Exception in thread “main” java.util.ConcurrentModificationException
- An error is reported when traversing the list collection to delete elements
- Mybatis where 1 = 1 and Tags
- MYSQL Error: Out of sort memory, consider increasing server sort buffer size; nested exception is java.sql.SQLException: Out of sort memory, consider increasing server sort buffer size
- MySQL Error Number 1005 Can’t create table (Errno:150)
- seleniumTypeError: ‘FirefoxWebElement’ object is not iterable
- When vue3 introduces element plus, index.css cannot be found. Solve the problem
- [Solved] Element-ui Error: [Vue warn]: Invalid prop: type check failed for prop “index”. Expected String with value “1”, got Number with value 1
- [Solved] HiC-Pro mergeSAM.py Error: Forward and reverse reads not paired. Check that BAM files have the same read names and are sorted.