mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 15:00:08 +00:00
修复AxisLine的OnZero对YAxis不生效的问题 #116
This commit is contained in:
@@ -2049,7 +2049,7 @@ namespace XCharts
|
||||
if (!axis.axisLine.onZero) return 0;
|
||||
foreach (var xAxis in m_XAxes)
|
||||
{
|
||||
if (xAxis.IsValue() && xAxis.gridIndex == axis.gridIndex) return xAxis.runtimeZeroYOffset;
|
||||
if (xAxis.IsValue() && xAxis.gridIndex == axis.gridIndex) return xAxis.runtimeZeroXOffset;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user