调整AxisAxisName的默认位置

This commit is contained in:
monitor1394
2024-07-27 23:06:02 +08:00
parent de4f650e4f
commit 1bb9b455b4
3 changed files with 4 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ slug: /changelog
## master
* (2024.07.27) 调整`Axis``AxisName`的默认位置
* (2024.07.22) 优化`Pie``Label``Tooltip`触发时的表现
* (2024.07.21) 修复`Tooltip`在开启`DataZoom`时指示内容不准确的问题
* (2024.07.17) 修复`MarkLine``Label`在初始化时可能会闪烁的问题

View File

@@ -28,6 +28,7 @@ namespace XCharts.Runtime
splitLine.show = false;
splitLine.lineStyle.type = LineStyle.Type.None;
axisLabel.textLimit.enable = true;
axisName.labelStyle.offset = new Vector3(5, 0, 0);
}
}
}

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts.Runtime
{
@@ -25,6 +26,7 @@ namespace XCharts.Runtime
splitLine.lineStyle.type = LineStyle.Type.None;
axisLabel.textLimit.enable = false;
axisTick.showStartTick = true;
axisName.labelStyle.offset = new Vector3(0, 22, 0);
}
}
}