* UIBarChart: Option.ShowFullRect为true时,绘制右侧和上侧的边框实线

This commit is contained in:
Sunny 2023-05-10 21:45:22 +08:00
parent ca15a2f1c5
commit ce0f45cc20
2 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,7 @@
* 2022-08-10: V3.2.2 Y轴显示名称
* 2022-08-17: V3.2.3 Nan
* 2022-09-07: V3.2.3 Option.YAxis.ShowGridLine为false时线
* 2022-05-10: V3.3.6 Option.ShowFullRect为true时线
******************************************************************************/
using System;
@ -469,6 +470,11 @@ namespace Sunny.UI
}
}
if (Option.ShowFullRect)
{
g.DrawRectangle(ForeColor, Option.Grid.Left, Option.Grid.Top, DrawSize.Width, DrawSize.Height);
}
double[] YLabels = YScale.CalcLabels();
float[] labels = YScale.CalcYPixels(YLabels, DrawOrigin.Y, DrawSize.Height);
float wmax = 0;

View File

@ -127,6 +127,8 @@ namespace Sunny.UI
return null;
}
}
public bool ShowFullRect { get; set; }
}
public class UIBarToolTip : UIChartToolTip