VChart icon indicating copy to clipboard operation
VChart copied to clipboard

[Feature] crosshair's style attribute support function

Open xuefei1313 opened this issue 2 years ago • 0 comments

What problem does this feature solve?

Expect crosshairs to display different colors in different locations

What does the proposed API look like?

crosshair: {
    xField: {
      visible: true,
      line: {
        type: 'line', 
        style: {
          stroke: ()=>{
            return 'blue'
          },
        }
      },
    },
  }

xuefei1313 avatar Sep 25 '23 08:09 xuefei1313