Skip to content

Commit

Permalink
add tooltip.confine = true (#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
hushaoqing authored and zhaoyongjie committed Nov 26, 2021
1 parent 9907d13 commit 8c2a91e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export default function transformProps(chartProps: ChartProps): EchartsTimeserie
},
tooltip: {
trigger: 'axis',
confine: true,
formatter: (params, ticket, callback) => {
// @ts-ignore
const rows = [`${smartDateVerboseFormatter(params[0].value[0])}`];
Expand Down

0 comments on commit 8c2a91e

Please sign in to comment.