diff --git a/src/LiveChartsCore/Kernel/DataProvider.cs b/src/LiveChartsCore/Kernel/DataProvider.cs index 1c11a974d..0c7b79faa 100644 --- a/src/LiveChartsCore/Kernel/DataProvider.cs +++ b/src/LiveChartsCore/Kernel/DataProvider.cs @@ -172,9 +172,14 @@ public virtual DimensionalBounds GetCartesianBounds( bounds.SecondaryBounds.AppendValue(secondary); bounds.TertiaryBounds.AppendValue(tertiary); - if (primary >= yMin && primary <= yMax && secondary >= xMin && secondary <= xMax) + if (primary >= yMin && primary <= yMax) { bounds.VisiblePrimaryBounds.AppendValue(primary); + bounds.VisibleTertiaryBounds.AppendValue(tertiary); + } + + if (secondary >= xMin && secondary <= xMax) + { bounds.VisibleSecondaryBounds.AppendValue(secondary); bounds.VisibleTertiaryBounds.AppendValue(tertiary); }