Skip to content

Commit 35234ec

Browse files
committed
Make TreeChart Leaf nodes center aligned
1 parent 4305b76 commit 35234ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

client/packages/lowcoder-comps/src/comps/treeChartComp/treeChartUtils.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,13 @@ export function getEchartsConfig(
167167
position: "top",
168168
verticalAlign: "middle",
169169
align: "right",
170-
// ...styleWrapper(props?.detailStyle, theme?.detailStyle, 11),
171170
},
172171
leaves: {
173172
label: {
174-
position: "bottom",
173+
show: props?.labelVisibility,
174+
position: "right",
175175
verticalAlign: "middle",
176176
align: "left"
177-
// ...styleWrapper(props?.detailStyle, theme?.detailStyle, 11),
178177
}
179178
},
180179
itemStyle: {

0 commit comments

Comments
 (0)