VChart icon indicating copy to clipboard operation
VChart copied to clipboard

[Feature] Wish marker's `coordinates` or `positions` can support big callback, so i can draw a regression line

Open kkxxkk2019 opened this issue 1 year ago • 0 comments

What problem does this feature solve?

If coordinates or positions can support callback, i can use markLine to draw regression line for scatter chart,

image

What does the proposed API look like?

    markLine: {
      positions: (data, series) => {
        // do something
        return points;
      },
      
       coordinates: (data, series) => {
        // do something
        return points;
      },
      
    }

kkxxkk2019 avatar Jul 08 '24 10:07 kkxxkk2019