echarts Bars stay in outOfBrush style after a brush remove on click when tooltip trigger is 'axis'

lg40wkob  于 2022-10-20  发布在  Echarts
关注(0)|答案(1)|浏览(240)

Version

5.0.2

Steps to reproduce

  • Go to https://echarts.apache.org/examples/en/editor.html?c=bar-brush
  • Comment out line 83 where we set options to the chart on the 'brushSelected' event
  • Put tooltip trigger option to axis: tooltip: {trigger:'axis'}
  • Enable the horizontal brush selection by clicking on the toolbox
  • Select some bars with the brush
  • Remove the brush by clicking on a bar that is not selected and is in the 'outOfBrush' style

What is expected?

All bars should return to their original color since nothing is selected.

What is actually happening?

The bar we clicked on to remove the brush selection remains in the 'outOfBrush' style

gojuced7

gojuced71#

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure thatyou have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list .

Have a nice day! 🍵

相关问题