echarts [Feature] On click add a static ToolTips

2ic8powd  于 5个月前  发布在  Echarts
关注(0)|答案(3)|浏览(101)

What problem does this feature solve?

We have a requirement where a user can place multiple tooltips by clicking on a chart. example: If i am trying to see the exact value of a graph at time X and Y simultaneously, right now have to hover back and fro constantly.. if it is a simple map, there may be other ways, but for a complex time based data stream it would be extremely difficult.

so user can hover over and place a tooltip wherever they want, to dismiss , they can either click on the tooltip OR have a close button on the tooltip...

What does the proposed API look like?

tooltip: {
   multiple: true
}
5ktev3wc

5ktev3wc1#

The feature about multiple tooltips has been reported by the community before, it may be added in the future. Currently you can try to add a customized DOM element by listening to the click or other mouse events.

gk7wooem

gk7wooem2#

any timeline on this ?

9avjhtql

9avjhtql3#

Also, is there a close enough example I could use ? @plainheart any thoughts ?

相关问题