Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@rlamp
Copy link
Contributor

@rlamp rlamp commented Mar 30, 2023

Fixes #1991 .

Checklist

  • I have included examples or tests
  • I have updated the change log
  • I am listed in the CONTRIBUTORS file
  • I have cleaned up the commit history (use rebase and squash)

Changes proposed in this pull request:

  • The check whether to update Min/Max for a LineSeries must also include the filter for double.Nan values.

@oxyplot/admins

@rlamp rlamp force-pushed the double-nan-linq-min-invalid-operation-exception-fix-#1991 branch 2 times, most recently from ca6469e to fbb8622 Compare March 30, 2023 07:14
Source/OxyPlot/Series/LineSeries.cs Outdated Show resolved Hide resolved
@VisualMelon
Copy link
Contributor

Thanks for the bug report and fix! I don't have time to test this properly now, but shall try to do so in the next couple of days.

Apart from the comment above, the PR looks good pending testing.

@rlamp rlamp force-pushed the double-nan-linq-min-invalid-operation-exception-fix-#1991 branch from fbb8622 to 2ec48d9 Compare March 30, 2023 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.InvalidOperationException: Sequence contains no elements when only dobule.NaN values are added to the LineSeries.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.