antvis/G2

如何设置 crosshair 为虚线 #6063

YY88Xu posted onGitHub

问题描述

<img width="507" alt="image" src="https://github.com/antvis/G2/assets/14836228/0e9821ef-0f8d-486b-9c4a-93bb601a985e"> 如图,怎么设置 crosshair 为虚线,并且设置相交的圆圈为空心圆呢?官网的例子是实心的 https://g2.antv.antgroup.com/examples/general/line/#curved

重现链接

No response

重现步骤

No response

预期行为

No response

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


这是虚线的设置

    interaction: {
      tooltip: {
        crosshairsLineDash: [2, 2],
        shared: true,
      },
    },
posted by D15OS about 1 year ago

Fund this Issue

$0.00
Funded

Pull requests