fix add main component error

This commit is contained in:
monitor1394
2022-03-31 21:54:34 +08:00
parent 426d437e6d
commit 1ed0ff377a
7 changed files with 45 additions and 42 deletions

View File

@@ -7,57 +7,56 @@ namespace XCharts.Runtime
{
public class SerieDataContext
{
public Vector3 labelPosition { get; set; }
public Vector3 labelPosition;
/// <summary>
/// 开始角度
/// </summary>
public float startAngle { get; internal set; }
public float startAngle;
/// <summary>
/// 结束角度
/// </summary>
public float toAngle { get; internal set; }
public float toAngle;
/// <summary>
/// 一半时的角度
/// </summary>
public float halfAngle { get; internal set; }
public float halfAngle;
/// <summary>
/// 当前角度
/// </summary>
public float currentAngle { get; internal set; }
public float currentAngle;
/// <summary>
/// 饼图数据项的内半径
/// </summary>
public float insideRadius { get; internal set; }
public float insideRadius;
/// <summary>
/// 饼图数据项的偏移半径
/// </summary>
public float offsetRadius { get; internal set; }
public float outsideRadius { get; set; }
public Vector3 position { get; set; }
public float offsetRadius;
public float outsideRadius;
public Vector3 position;
public List<Vector3> dataPoints = new List<Vector3>();
public List<SerieData> children = new List<SerieData>();
/// <summary>
/// 绘制区域。
/// </summary>
public Rect rect { get; set; }
public Rect subRect { get; set; }
public int level { get; set; }
public SerieData parent { get; set; }
public Color32 color { get; set; }
public double area { get; set; }
public float angle { get; set; }
public Vector3 offsetCenter { get; set; }
public float stackHeight { get; set; }
public bool isClip { get; set; }
public Rect rect;
public Rect subRect;
public int level;
public SerieData parent;
public Color32 color;
public double area;
public float angle;
public Vector3 offsetCenter;
public float stackHeight;
public bool isClip;
public bool canShowLabel = true;
public Image symbol { get; set; }
public Image symbol;
/// <summary>
/// Whether the data item is highlighted.
/// |该数据项是否被高亮,一般由鼠标悬停或图例悬停触发高亮。
/// </summary>
public bool highlight { get; set; }
public bool highlight;
}
}