mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 17:00:08 +00:00
修复Gauge在最小值为负数时指针指示位置异常的问题
This commit is contained in:
@@ -341,7 +341,7 @@ namespace XCharts
|
||||
}
|
||||
if (rangeValue > 0)
|
||||
{
|
||||
angle += rangeAngle * value / rangeValue;
|
||||
angle += rangeAngle * (value - serie.min) / rangeValue;
|
||||
}
|
||||
return angle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user