diff --git a/src/LiveChartsCore/CoreLineSeries.cs b/src/LiveChartsCore/CoreLineSeries.cs index 5075542f9..c3b865ef7 100644 --- a/src/LiveChartsCore/CoreLineSeries.cs +++ b/src/LiveChartsCore/CoreLineSeries.cs @@ -644,7 +644,7 @@ public override IDrawnElement GetMiniatureGeometry(ChartPoint? point) protected override Paint? GetMiniatureFill(ChartPoint? point, int zIndex) { var p = point is null ? null : ConvertToTypedChartPoint(point); - var paint = p?.Visual?.Fill ?? GeometryFill; + var paint = p?.Visual?.Fill ?? GeometryFill ?? Fill; return GetMiniaturePaint(paint, zIndex); } @@ -653,7 +653,7 @@ public override IDrawnElement GetMiniatureGeometry(ChartPoint? point) protected override Paint? GetMiniatureStroke(ChartPoint? point, int zIndex) { var p = point is null ? null : ConvertToTypedChartPoint(point); - var paint = p?.Visual?.Fill ?? GeometryStroke; + var paint = p?.Visual?.Stroke ?? GeometryStroke ?? Stroke; return GetMiniaturePaint(paint, zIndex); } diff --git a/src/LiveChartsCore/CorePolarLineSeries.cs b/src/LiveChartsCore/CorePolarLineSeries.cs index 13a38d123..2fb0b6992 100644 --- a/src/LiveChartsCore/CorePolarLineSeries.cs +++ b/src/LiveChartsCore/CorePolarLineSeries.cs @@ -959,7 +959,7 @@ protected virtual LvcPoint GetLabelPolarPosition( protected virtual Paint? GetMiniatureFill(ChartPoint? point, int zIndex) { var p = point is null ? null : ConvertToTypedChartPoint(point); - var paint = p?.Visual?.Fill ?? GeometryFill; + var paint = p?.Visual?.Fill ?? GeometryFill ?? Fill; return GetMiniaturePaint(paint, zIndex); } @@ -973,7 +973,7 @@ protected virtual LvcPoint GetLabelPolarPosition( protected virtual Paint? GetMiniatureStroke(ChartPoint? point, int zIndex) { var p = point is null ? null : ConvertToTypedChartPoint(point); - var paint = p?.Visual?.Stroke ?? GeometryStroke; + var paint = p?.Visual?.Stroke ?? GeometryStroke ?? Stroke; return GetMiniaturePaint(paint, zIndex); } diff --git a/src/LiveChartsCore/CoreStepLineSeries.cs b/src/LiveChartsCore/CoreStepLineSeries.cs index 028cce34b..65c8d8f65 100644 --- a/src/LiveChartsCore/CoreStepLineSeries.cs +++ b/src/LiveChartsCore/CoreStepLineSeries.cs @@ -553,7 +553,7 @@ public override IDrawnElement GetMiniatureGeometry(ChartPoint? point) protected override Paint? GetMiniatureFill(ChartPoint? point, int zIndex) { var p = point is null ? null : ConvertToTypedChartPoint(point); - var paint = p?.Visual?.Fill ?? GeometryFill; + var paint = p?.Visual?.Fill ?? GeometryFill ?? Fill; return GetMiniaturePaint(paint, zIndex); } @@ -562,7 +562,7 @@ public override IDrawnElement GetMiniatureGeometry(ChartPoint? point) protected override Paint? GetMiniatureStroke(ChartPoint? point, int zIndex) { var p = point is null ? null : ConvertToTypedChartPoint(point); - var paint = p?.Visual?.Fill ?? GeometryStroke; + var paint = p?.Visual?.Stroke ?? GeometryStroke ?? Stroke; return GetMiniaturePaint(paint, zIndex); }