echarts [Feature] get interpolated values at x-Position of axis pointer

bcs8qyzn  于 2022-11-05  发布在  Echarts
关注(0)|答案(1)|浏览(245)

What problem does this feature solve?

If user hovers over the series of specific data points. I want the tooltip to display also interpolated values in between of real data points.

What does the proposed API look like?

  1. First allow tooltip to be triggered at any mouse position the user hovers.
  2. Allow tooltip formatter to contain parameters of interpolated value
  3. Allow tooltip formatter to contain parameters to indicates that its an interpolated value
  4. Make this feature be activated via flag. Default inactive.
fjaof16o

fjaof16o1#

5D47B616-6CFF-4B98-849E-6A2358CBDCCB.MP4

Just added this example video as usecase. The interpolated between these real values should be displayed in the tooltip.

相关问题