Check for minimum height for X axis labels to draw
MODIFY
WalletWasabi.Fluent/Controls/LineChart.cs
WalletWasabi.Fluent/Controls/LineChart.cs
@@ -359,6 +359,13 @@ namespace WalletWasabi.Fluent.Controls
return;
}
+ if (state.ChartWidth <= 0
+ || state.ChartHeight <= 0
+ || state.ChartHeight - state.AreaMargin.Top < state.AreaMargin.Bottom)
+ {
+ return;
+ }
+
var opacity = XAxisLabelOpacity;
var fontFamily = XAxisLabelFontFamily;
var fontStyle = XAxisLabelFontStyle;

Check for minimum height for X axis labels to draw