Skip to content

Commit dafdca9

Browse files
Merge pull request #2131 from iamfaran/fix/piechart-tooltip
[Fix]: pie chart tooltip
2 parents 7ba64e7 + 9345b10 commit dafdca9

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

client/packages/lowcoder-comps/src/comps/pieChartComp/pieChartUtils.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,7 @@ export function getEchartsConfig(
172172
}
173173
},
174174
tooltip: props.tooltip && {
175-
trigger: "axis",
176-
axisPointer: {
177-
type: "line",
178-
lineStyle: {
179-
color: "rgba(0,0,0,0.2)",
180-
width: 2,
181-
type: "solid"
182-
}
183-
}
175+
trigger: "item",
184176
},
185177
grid: {
186178
...gridPos,

0 commit comments

Comments
 (0)