增加Demo首页BarChart的代码动态控制效果

This commit is contained in:
monitor1394
2019-10-20 18:57:28 +08:00
parent 821e518830
commit 20377e6a42
9 changed files with 27929 additions and 23689 deletions

View File

@@ -355,11 +355,11 @@ namespace XCharts
/// <summary>
/// 斑马线的粗细。
/// </summary>
public float barZebraWidth { get { return m_BarZebraWidth; } set { m_BarZebraWidth = value; } }
public float barZebraWidth { get { return m_BarZebraWidth; } set { m_BarZebraWidth = value > 0 ? value : 0; } }
/// <summary>
/// 斑马线的间距。
/// </summary>
public float barZebraGap { get { return m_BarZebraGap; } set { m_BarZebraGap = value; } }
public float barZebraGap { get { return m_BarZebraGap; } set { m_BarZebraGap = value > 0 ? value : 0; } }
/// <summary>
/// Whether offset when mouse click pie chart item.