mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 08:50:10 +00:00
修复Log轴时绘制异常的问题
This commit is contained in:
@@ -91,7 +91,7 @@ namespace XCharts
|
||||
{
|
||||
int minIndex = axis.runtimeMinLogIndex;
|
||||
float nowIndex = axis.GetLogValue(value);
|
||||
return (nowIndex - minIndex) / (axis.splitNumber - 1) * totalWidth;
|
||||
return (nowIndex - minIndex) / axis.splitNumber * totalWidth;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user