antvis / F2

📱📈An elegant, interactive and flexible charting library for mobile.

Home Page:https://f2.antv.vision/zh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

3.x版本中区间柱状图无法展示tooltip

leegsen7 opened this issue · comments

  • F2 Version:3.x

官网demo中的区间是y轴。如果x轴是区间的话(区间是连续的),tooltip不会出现,怎样配置才能出现。

// 测试数据
const data = [
  {
    x: [1, 2],
    y: 1,
  },
  {
    x: [2, 3],
    y: 2,
  },
]