Comments (1)
@dannishushu 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
BODY
What problem does this feature solve?
When using series->type:treemap, the height and width of the rectangle can only be obtained in the labelLayout function. After practice, it is speculated that the execution order of the label formatter in the underlying code implementation of echarts takes precedence over the execution order of the labelLayout function, so it is implemented in the label:formatter function. There is no functional logic such as "determining the text size or the number of display lines through the height and width of the rectangle".
What does the proposed API look like?
It is expected that the length and width data of the rectangle can also be obtained in the label formatter function.
from echarts.
Related Issues (20)
- [Bug] Brush 刷选在时序柱状图上选中效果异常 HOT 2
- [Feature] Put Zoomable Background Picture Behind Graph HOT 2
- [Feature] 能否增加一个legend全选和反选的功能。目前只有自己添加一个全选的legend HOT 3
- [Bug] lines series doesn't work with dataMin or dataMax HOT 2
- [Bug] How to change default cursor in echarts? HOT 4
- [Bug] Can't get the height and width of the rectangle when using series->type:treemap->label:formatter function
- [Feature] graph关系图希望点击节点或边,聚焦关系图中的邻接点和边的图形 HOT 1
- [Feature] When using a set of scatter points that are connected end-to-end to draw a line chart, I want to ensure that the line connections between points are not dependent on whether the points are within the current view when zooming or panning with dataZoom. HOT 1
- [Bug] 为每一个雷达图添加title展示 HOT 1
- [Bug] 为每一个雷达图添加title展示 HOT 2
- [Bug] 为每一个雷达图添加title展示 HOT 4
- [Feature] To be able to have the same marker symbols in tooltips than in chart HOT 10
- [Bug] NPE with tooltip HOT 2
- [Feature] 自定义图形path中支持使用marker HOT 3
- [Feature] 是否支持双X轴显示,其中X轴type为value HOT 1
- [Bug] Echarts-gl 3d曲面绘制垂直于X方向的点进行绘制的时候一旦超过5个点就绘制出现问题 HOT 1
- [Bug] 官网报错Uncaught Error: Bootstrap's JavaScript requires jQuery,导致导航栏无法正常使用 HOT 1
- [Feature] 折线图series上的label支持和x轴一样的根据密度分布显示 HOT 2
- [Bug] Bar chart column width with a single data point is extremely wide. HOT 1
- [Bug] series.custom.label.textBorderColor设置任何值都不生效,但是textBorderWidth生效 HOT 2
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.