antvis/G2

Do you want to work on this issue?

You can request for a bounty in order to promote it!

折线图设置范围内颜色 #6332

ys-yq posted onGitHub

问题描述

v5不支持chart.annotation().regionFilter(),请问折线图如何实现范围内颜色自定义,不要现有案例渐变色

希望结果: image

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


可以参考,缺失变宽折线图。稍微改改,就可以实现这样的效果 Image

posted by Gentlest about 1 month ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests