* UIBarChart: Option.ShowFullRect为true时,绘制右侧和上侧的边框实线
This commit is contained in:
parent
ca15a2f1c5
commit
ce0f45cc20
@ -27,6 +27,7 @@
|
|||||||
* 2022-08-10: V3.2.2 修复Y轴显示名称
|
* 2022-08-10: V3.2.2 修复Y轴显示名称
|
||||||
* 2022-08-17: V3.2.3 增加数据可为Nan
|
* 2022-08-17: V3.2.3 增加数据可为Nan
|
||||||
* 2022-09-07: V3.2.3 Option.YAxis.ShowGridLine为false时,不显示水平表格虚线
|
* 2022-09-07: V3.2.3 Option.YAxis.ShowGridLine为false时,不显示水平表格虚线
|
||||||
|
* 2022-05-10: V3.3.6 Option.ShowFullRect为true时,绘制右侧和上侧的边框实线
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
using System;
|
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();
|
double[] YLabels = YScale.CalcLabels();
|
||||||
float[] labels = YScale.CalcYPixels(YLabels, DrawOrigin.Y, DrawSize.Height);
|
float[] labels = YScale.CalcYPixels(YLabels, DrawOrigin.Y, DrawSize.Height);
|
||||||
float wmax = 0;
|
float wmax = 0;
|
||||||
|
@ -127,6 +127,8 @@ namespace Sunny.UI
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool ShowFullRect { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UIBarToolTip : UIChartToolTip
|
public class UIBarToolTip : UIChartToolTip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user