antvis / wx-f2

F2 的微信小程序
MIT License
1.28k stars 184 forks source link

小程序中无法使用 chart.guide().regionFilter(...) 方法 #335

Open dongjianghao opened 3 years ago

dongjianghao commented 3 years ago
// 调用代码
chart.guide().regionFilter({
  start: ['64%', '0%'],
  end: ['100%', '100%'],
  color: '#fff',
  style: {
    lineDash: [3, 8]
  }
});
// 报错信息
GuideBase[ClassName] is not a constructor;at App request function;at SelectorQuery callback function
TypeError: GuideBase[ClassName] is not a constructor

找到了这个问题 -> https://github.com/antvis/F2/issues/311 尝试在nodemodules、miniprogram-npm 中引入 regionFilter,并重新构建npm,但是还是不可以 还请不吝赐教 (:з」∠)_

Merleyang commented 12 months ago

找到解决方法了么?遇到了同样的问题