mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 23:40:10 +00:00
修复无法正确表示部分超大或超小数值的问题
This commit is contained in:
@@ -95,7 +95,7 @@ namespace XCharts
|
||||
}
|
||||
else
|
||||
{
|
||||
return (value - axis.runtimeMinValue) / (axis.runtimeMaxValue - axis.runtimeMinValue) * totalWidth;
|
||||
return (float)((value - axis.runtimeMinValue) / axis.runtimeMinMaxRange * totalWidth);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user