* UILineChart: 打开Smooth绘制,建议数据差距不大时可平滑绘制

This commit is contained in:
Sunny 2023-04-23 15:09:17 +08:00
parent 4a16603367
commit bc38931bd6

View File

@ -481,7 +481,7 @@ namespace Sunny.UI
{
g.SetHighQuality();
if (series.ContainsNan || !series.Smooth || series.Points.Count == 2)
if (series.ContainsNan || !series.Smooth || series.Points.Count == 2 || ZoomAreas.Count > 5)
{
for (int i = 0; i < series.Points.Count - 1; i++)
{