mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 21:40:41 +00:00
修复AxisLine的OnZero对YAxis不生效的问题 #116
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
|
||||
## Latest
|
||||
|
||||
* (2021.02.03) Fixed an issue where `Axisline` `OnZero` did not work on `YAxis` #116
|
||||
* (2021.01.29) Fixed incorrect display of `Tick` on `Category` axis when `BoundaryGap` and `alignWithLabel` are `True` #115
|
||||
* (2021.01.25) Optimize some details
|
||||
* (2021.01.22) Fixed a `Inpsector` displayed error
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
## Latest
|
||||
|
||||
* (2021.02.03) 修复`AxisLine`的`OnZero`对`YAxis`不生效的问题 #116
|
||||
* (2021.01.29) 修复`Category`轴在`BoundaryGap`和`AlignWithLabel`为`True`时`Tick`显示效果不对的问题 #115
|
||||
* (2021.01.25) 优化一些细节
|
||||
* (2021.01.22) 修复`Inpsector`上部分属性显示异常的问题
|
||||
|
||||
@@ -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