using UnityEngine; namespace XCharts.Runtime { /// /// the data of serie event. /// |serie事件的数据。 /// public class SerieEventData { /// /// the position of pointer in chart. /// |鼠标在chart中的位置。 /// public Vector3 pointerPos { get; set; } /// /// the index of serie in chart.series. /// |在chart.series中的索引。 /// public int serieIndex { get; set; } /// /// the index of data in serie.data. /// |在serie.data中的索引。 /// public int dataIndex { get; set; } /// /// the dimension of data. /// |数据的维度。 /// public int dimension { get; set; } /// /// the value of data. /// |数据的值。 /// public double value { get; set; } public void Reset() { serieIndex = -1; dataIndex = -1; dimension = -1; value = 0; pointerPos = Vector3.zero; } } }