Skip to content

[xy-chart] How to make some reference always visible in Y axis? #1003

Answered by williaster
RIP21 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @RIP21, if I understand correctly, you want the # points to be evident? One option would be to render both a LineSeries and a GlyphSeries on top of each other with the same data (even the same dataKey should work). That would result in something like this (from the https://airbnb.io/visx/xychart demo, turning on glyphs + lines)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@RIP21
Comment options

@williaster
Comment options

@williaster
Comment options

@RIP21
Comment options

Answer selected by RIP21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants