using System.Collections.Generic;
using UnityEngine.UI;
namespace XCharts.Runtime
{
///
/// The delegate function for AxisLabel's formatter.
/// |AxisLabel的formatter自定义委托。
///
/// label索引
/// 当前label对应的数值数据,Value轴或Time轴有效
/// 当前label对应的类目数据,Category轴有效
/// 最终显示的文本内容
public delegate string AxisLabelFormatterFunction(int labelIndex, double value, string category);
///
/// The delegate function for SerieLabel‘s formatter.
/// |SerieLabel的formatter自定义委托。
///
/// 数据索引
/// 数值
/// 最终显示的文本内容
public delegate string SerieLabelFormatterFunction(int dataIndex, double value);
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);
}