Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crosshair labels onNearestX only works up until the end of the shortest line? #1306

Open
minamesephy opened this issue Feb 17, 2020 · 0 comments
Open

Comments

@minamesephy
Copy link

@minamesephy minamesephy commented Feb 17, 2020

Hi,
I am using the API reference and this code snippet as examples for adding crosshairs to my XYPlot which contains a variable number of LineSeries. So far it has been working, but I am running into some cases where one LineSeries is shorter than the rest and crosshairs won't show up for X values that go beyond the shortest lines' X values.

Here's an example. The top line is shorter and the Crosshairs only show up until the last X value of the shorter line. I want to be able to show Crosshairs for all values up until the end of the graph (the longest line).
Screen Shot 2020-02-17 at 3 52 41 PM

Is this possible?
(Even if I just take the example code and just make one line longer than the other by making one data array longer, I run into this same behavior.)

Help would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.