Limit line on XYChart #1167
-
Beta Was this translation helpful? Give feedback.
Answered by
williaster
Apr 15, 2021
Replies: 1 comment 6 replies
-
Hey @EsaxCO 👋 thanks for checking out |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
shockhs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @EsaxCO 👋 thanks for checking out
visx
. Yes, there are a couple approaches for this. You can either use theAnnotation/AnnotationLineSubject
exported from@visx/xychart
, or tap into theDataContext
for access to the chart scales and roll your own. Here's a demo of both approaches, hope it helps!