UI update 02
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// The delegate function for LabelStyle‘s formatter.
|
||||
/// ||SerieLabel的formatter自定义委托。
|
||||
/// </summary>
|
||||
/// <param name="dataIndex">数据索引</param>
|
||||
/// <param name="value">数值</param>
|
||||
/// <param name="category">类目</param>
|
||||
/// <param name="content">当前内容</param>
|
||||
/// <returns>最终显示的文本内容</returns>
|
||||
public delegate string LabelFormatterFunction(int dataIndex, double value, string category, string content);
|
||||
public delegate float AnimationDelayFunction(int dataIndex);
|
||||
public delegate float AnimationDurationFunction(int dataIndex);
|
||||
/// <summary>
|
||||
/// 获取标记大小的回调。
|
||||
/// </summary>
|
||||
public delegate float SymbolSizeFunction(float defaultSize, SerieData serieData);
|
||||
public delegate void CustomDrawGaugePointerFunction(VertexHelper vh, int serieIndex, int dataIndex, float currentAngle);
|
||||
/// <summary>
|
||||
/// DataZoom的start和end变更时的委托方法。
|
||||
/// </summary>
|
||||
/// <param name="start"></param>
|
||||
/// <param name="end"></param>
|
||||
public delegate void CustomDataZoomStartEndFunction(ref float start, ref float end);
|
||||
}
|
||||
Reference in New Issue
Block a user