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, string content);
    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);
    /// 
    /// DataZoom的start和end变更时的委托方法。
    /// 
    /// 
    /// 
    public delegate void CustomDataZoomStartEndFunction(ref float start, ref float end);
}