using System.Collections.Generic; using UnityEngine.UI; namespace XCharts.Runtime { /// /// The delegate function for LabelStyle‘s formatter. /// |SerieLabel的formatter自定义委托。 /// /// 数据索引 /// 数值 /// 最终显示的文本内容 public delegate string LabelFormatterFunction(int dataIndex, double value, string category); public delegate float AnimationDelayFunction(int dataIndex); public delegate float AnimationDurationFunction(int dataIndex); /// /// 获取标记大小的回调。 /// /// /// public delegate float SymbolSizeFunction(List data); public delegate void CustomDrawGaugePointerFunction(VertexHelper vh, int serieIndex, int dataIndex, float currentAngle); }