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
我想把关系图中的节点的标签,旋转90度显示,但是设置rotate属性后不起作用。 文档中有写这一项是可以设置的,http://www.echartsjs.com/option.html#series-graph.label.rotate, 但是,实际使用时,这个属性不产生效果。
option = { title: { text: 'Graph 简单示例' }, tooltip: {}, animationDurationUpdate: 1500, animationEasingUpdate: 'quinticInOut', series : [ { type: 'graph', layout: 'none', symbolSize: 50, roam: true, label: { show: true, rotate: 90, fontWeight:5, fontSize: 26, color: "#000", distance: 15, position: 'right', verticalAlign: 'middle' }, edgeSymbol: ['circle', 'arrow'], edgeSymbolSize: [4, 10], edgeLabel: { normal: { textStyle: { fontSize: 20 } } }, data: [{ name: '节点1', x: 300, y: 300 }] } ] }
这个里面的例子是能做到旋转的, http://www.echartsjs.com/gallery/editor.html?c=bar-label-rotation
The text was updated successfully, but these errors were encountered:
test: add test case for #9182
5c8f7eb
ab0fdde
Successfully merging a pull request may close this issue.
One-line summary [问题简述]
我想把关系图中的节点的标签,旋转90度显示,但是设置rotate属性后不起作用。
文档中有写这一项是可以设置的,http://www.echartsjs.com/option.html#series-graph.label.rotate,
但是,实际使用时,这个属性不产生效果。
Version & Environment [版本及环境]
Expected behaviour [期望结果]
ECharts option [ECharts配置项]
Other comments [其他信息]
这个里面的例子是能做到旋转的,
http://www.echartsjs.com/gallery/editor.html?c=bar-label-rotation
The text was updated successfully, but these errors were encountered: