0

Trying to get this grey line parallel to x-axis as a marker of target (at of y-axis 67%).

enter image description here

Nikhil Anand
  • 463
  • 5
  • 7

1 Answers1

2

you may put a markers props like:

markers={[
    {
        axis: 'y',
        value: 520,
        legend: 'TEST',
        lineStyle: {
            stroke: 'red',
        },
        textStyle: {
            fill: 'red',
        },
    },
]}

the value determine the marker location, you can calculate based on data you passed.