mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 17:30:10 +00:00
[bug] fix AxisLabel.onZero not work in YAxis
This commit is contained in:
@@ -72,7 +72,8 @@ namespace XCharts.Runtime
|
||||
if (grid == null)
|
||||
return Vector3.zero;
|
||||
|
||||
return GetLabelPosition(i, Orient.Vertical, component, null,
|
||||
var xAxis = chart.GetChartComponent<XAxis>(component.index);
|
||||
return GetLabelPosition(i, Orient.Vertical, component, xAxis,
|
||||
chart.theme.axis,
|
||||
scaleWid,
|
||||
grid.context.x,
|
||||
|
||||
Reference in New Issue
Block a user