Set defaults for incorrect input Y axis data data
MODIFY
WalletWasabi.Fluent/Controls/LineChart.cs
WalletWasabi.Fluent/Controls/LineChart.cs
@@ -191,6 +191,11 @@ namespace WalletWasabi.Fluent.Controls
state.Points[i] = new Point(i * state.Step, scaledValues[i]);
}
}
+ else
+ {
+ state.Step = double.NaN;
+ state.Points = null;
+ }
var labels = XAxisLabels;
if (labels is not null)

Set defaults for incorrect input Y axis data data