antvis/G6

怎么更新线的颜色 #4469

pangchao21 posted onGitHub

问题描述

group.addShape('path', { attrs: { stroke: '#CCC', path:... } }) 1.在我监听线的鼠标移入移出事件时,怎么更新线的颜色呢? 2.箭头怎么可以设置成实心的?

重现链接

重现步骤

预期行为

image

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


Fund this Issue

$0.00
Funded

Pull requests