With <ReferenceLine /> and its segment property, it's possible:
<ReferenceLine />
segment
<ReferenceLine x={14} />
<ReferenceLine segment={[ { x: 14, y: 1200, }, { x: 14, y: 1050, }, ]} />