Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.

### Fixed
- Placement of BarSeries labels when stacked (#1979)
- SystemInvalidException in LineSeries when only Double.Nan values are added (#1991)
- Issue with tracking AreaSeries with monotonic data points (#1982)

## [2.1.2] - 2022-12-03
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ Piotr Warzocha <[email protected]>
Poul Erik Venø <[email protected]>
Régis Boudin <[email protected]>
Rik Borger <[email protected]>
Rok Lampret <[email protected]>
ryang <[email protected]>
Sarah Müller <[email protected]>
Senen Fernandez <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion Source/OxyPlot/Series/LineSeries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ protected internal override void UpdateMaxMin()
// Make sure the smooth points are re-evaluated.
this.ResetSmoothedPoints();

if (this.SmoothedPoints.Count == 0)
if (this.SmoothedPoints.All(x => double.IsNaN(x.X)))
{
return;
}
Expand Down