mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 15:30:09 +00:00
增加桑基图相关支持
This commit is contained in:
@@ -6,19 +6,35 @@ namespace XCharts.Runtime
|
||||
[System.Serializable]
|
||||
public class Level : ChildComponent
|
||||
{
|
||||
[SerializeField][Since("v3.10.0")] private int m_Depth = 0;
|
||||
[SerializeField] private LabelStyle m_Label = new LabelStyle();
|
||||
[SerializeField] private LabelStyle m_UpperLabel = new LabelStyle();
|
||||
[SerializeField][Since("v3.10.0")] private LineStyle m_LineStyle = new LineStyle();
|
||||
[SerializeField] private ItemStyle m_ItemStyle = new ItemStyle();
|
||||
|
||||
/// <summary>
|
||||
/// 文本标签样式。
|
||||
/// the depth of level.
|
||||
/// ||层级深度。
|
||||
/// </summary>
|
||||
public int depth { get { return m_Depth; } set { m_Depth = value; } }
|
||||
/// <summary>
|
||||
/// the label style of level.
|
||||
/// ||文本标签样式。
|
||||
/// </summary>
|
||||
public LabelStyle label { get { return m_Label; } }
|
||||
/// <summary>
|
||||
/// 上方的文本标签样式。
|
||||
/// the upper label style of level.
|
||||
/// ||上方的文本标签样式。
|
||||
/// </summary>
|
||||
public LabelStyle upperLabel { get { return m_UpperLabel; } }
|
||||
/// <summary>
|
||||
/// 数据项样式。
|
||||
/// the line style of level.
|
||||
/// ||线条样式。
|
||||
/// </summary>
|
||||
public LineStyle lineStyle { get { return m_LineStyle; } }
|
||||
/// <summary>
|
||||
/// the item style of level.
|
||||
/// ||数据项样式。
|
||||
/// </summary>
|
||||
public ItemStyle itemStyle { get { return m_ItemStyle; } }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user