We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Toolbox显示的文字默认在图标的下方,在treemap放大以后那些文字根本看不清,所以我想把文字显示在图标的上方,根据代码里提示的,我设置了toolbox.iconStyle.emphasis.textPosition为top,但是怎样都不生效。不知道具体改怎么做?谢谢~
toolbox.iconStyle.emphasis.textPosition
top
option = { backgroundColor: '#eee', legend: { borderWidth: 1, data: [{ name: 'bar' }, 'bar2', '\n', 'bar3', 'bar4'], selected: { // 'bar': false }, // orient: 'vertical', // x: 'right', // y: 'bottom', align: 'left' }, toolbox: { // y: 'bottom', iconStyle: { normal: { borderColor: '#666', color: 'none' }, emphasis: { borderColor: '#000', textPosition: 'left' } }, feature: { saveAsImage: { pixelRatio: 2, iconStyle: { normal: { borderColor: '#666', color: 'none' }, emphasis: { borderColor: '#000', textPosition: 'left' } } } } }, tooltip: {}, xAxis: { data: xAxisData, name: '横轴', silent: false, axisLine: { onZero: true }, splitLine: { show: false }, splitArea: { show: false } }, yAxis: { inverse: true, splitArea: { show: false } }, series: [{ name: 'bar', type: 'bar', stack: 'one', itemStyle: itemStyle, data: data1 }, { name: 'bar2', type: 'bar', stack: 'one', itemStyle: itemStyle, data: data2 }, { name: 'bar3', type: 'bar', stack: 'two', itemStyle: itemStyle, data: data3 }, { name: 'bar4', type: 'bar', stack: 'two', itemStyle: itemStyle, data: data4 }] }
The text was updated successfully, but these errors were encountered:
0de7f3c
谢谢,这个fix工作了,不知道新版本什么时候能release?
fix
Sorry, something went wrong.
No branches or pull requests
问题简述 (One-line summary)
Toolbox显示的文字默认在图标的下方,在treemap放大以后那些文字根本看不清,所以我想把文字显示在图标的上方,根据代码里提示的,我设置了
![image](https://cloud.githubusercontent.com/assets/2657334/18616049/a315ca48-7de7-11e6-8b83-3bc7f50d2b6f.png)
toolbox.iconStyle.emphasis.textPosition
为top
,但是怎样都不生效。不知道具体改怎么做?谢谢~版本及环境 (Version & Environment)
ECharts配置项 (ECharts option)
The text was updated successfully, but these errors were encountered: