mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 09:20:08 +00:00
增加MarkLine的onTop设置是否显示在最上层
This commit is contained in:
@@ -37,6 +37,7 @@ namespace XCharts.Runtime
|
||||
{
|
||||
[SerializeField] private bool m_Show = true;
|
||||
[SerializeField] private int m_SerieIndex = 0;
|
||||
[SerializeField][Since("v3.8.2")] private bool m_OnTop = true;
|
||||
[SerializeField] private AnimationStyle m_Animation = new AnimationStyle();
|
||||
[SerializeField] private List<MarkLineData> m_Data = new List<MarkLineData>();
|
||||
|
||||
@@ -59,6 +60,15 @@ namespace XCharts.Runtime
|
||||
set { if (PropertyUtil.SetStruct(ref m_SerieIndex, value)) SetVerticesDirty(); }
|
||||
}
|
||||
/// <summary>
|
||||
/// whether the markline is on top.
|
||||
/// |是否在最上层。
|
||||
/// </summary>
|
||||
public bool onTop
|
||||
{
|
||||
get { return m_OnTop; }
|
||||
set { if (PropertyUtil.SetStruct(ref m_OnTop, value)) SetVerticesDirty(); }
|
||||
}
|
||||
/// <summary>
|
||||
/// The animation of markline.
|
||||
/// |标线的动画样式。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user