mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 02:10:16 +00:00
fix add main component error
This commit is contained in:
@@ -15,7 +15,7 @@ namespace XCharts.Runtime
|
||||
this.isIgnoreBreak = ignore;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class SerieContext
|
||||
{
|
||||
/// <summary>
|
||||
@@ -31,52 +31,52 @@ namespace XCharts.Runtime
|
||||
/// </summary>
|
||||
public List<int> pointerAxisDataIndexs = new List<int>();
|
||||
public bool isTriggerByAxis = false;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 中心点
|
||||
/// </summary>
|
||||
public Vector3 center { get; internal set; }
|
||||
public Vector3 center;
|
||||
/// <summary>
|
||||
/// 内半径
|
||||
/// </summary>
|
||||
public float insideRadius { get; set; }
|
||||
public float insideRadius;
|
||||
/// <summary>
|
||||
/// 外半径
|
||||
/// </summary>
|
||||
public float outsideRadius { get; set; }
|
||||
public float outsideRadius;
|
||||
/// <summary>
|
||||
/// 最大值
|
||||
/// </summary>
|
||||
public double dataMax { get; internal set; }
|
||||
public double dataMax;
|
||||
/// <summary>
|
||||
/// 最小值
|
||||
/// </summary>
|
||||
public double dataMin { get; internal set; }
|
||||
public double checkValue { get; set; }
|
||||
public double dataMin;
|
||||
public double checkValue;
|
||||
/// <summary>
|
||||
/// 左下角坐标X
|
||||
/// </summary>
|
||||
public float x { get; internal set; }
|
||||
public float x;
|
||||
/// <summary>
|
||||
/// 左下角坐标Y
|
||||
/// </summary>
|
||||
public float y { get; internal set; }
|
||||
public float y;
|
||||
/// <summary>
|
||||
/// 宽
|
||||
/// </summary>
|
||||
public float width { get; internal set; }
|
||||
public float width;
|
||||
/// <summary>
|
||||
/// 高
|
||||
/// </summary>
|
||||
public float height { get; internal set; }
|
||||
public float height;
|
||||
/// <summary>
|
||||
/// 矩形区域
|
||||
/// </summary>
|
||||
public Rect rect { get; internal set; }
|
||||
public Rect rect;
|
||||
/// <summary>
|
||||
/// 绘制顶点数
|
||||
/// </summary>
|
||||
public int vertCount { get; internal set; }
|
||||
public int vertCount;
|
||||
/// <summary>
|
||||
/// 数据对应的位置坐标。
|
||||
/// </summary>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user