You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@xiao821 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] How do you adjust the length of the lines between each level in a line treemap?
What problem does this feature solve?
const requestData = () => {
let option = {
tooltip: {
trigger: 'item',
triggerOn: 'mousemove'
},
series: [
{
type: 'tree',
id: 0,
name: 'tree1',
data: date.value,
top: '2%',
left: '7%',
bottom: '2%',
right: '22%',
symbolSize: 7,
edgeShape: 'polyline',
edgeForkPosition: '63%',
initialTreeDepth: 3,
lineStyle: {
width: 2
},
label: {
formatter: function (params) {
// console.log('params--value', params.data);
if (params.data.value !== undefined && params.data.value !== null) {
return
${params.data.name}: ${params.data.value}
;} else {
return params.data.name;
}
},
position: 'top',
verticalAlign: 'middle',
align: 'right',
color: '#fff',
fontSize: 16,
}这是我的折现tree图代码,我使用linkDistance去改变节点间的线条长度,但是无效
What does the proposed API look like?
我希望能增加调整线条长度的配置项
The text was updated successfully, but these errors were encountered: