/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/************************************************/
using UnityEngine;
namespace XCharts
{
///
/// The delegate function for AxisLabel's formatter. |
/// AxisLabel的formatter自定义委托函数。
///
/// label索引
/// 当前label对应的数值数据,Value轴或Time轴有效
/// 当前label对应的类目数据,Category轴有效
/// 最终显示的文本内容
public delegate string DelegateAxisLabelFormatter(int labelIndex, double value, string category);
///
/// The delegate function for SerieLabel‘s formatter.
/// SerieLabel的formatter自定义委托函数。
///
/// 数据索引
/// 数值
/// 最终显示的文本内容
public delegate string DelegateSerieLabelFormatter(int dataIndex, double value);
///
/// Tooltip的position自定义委托函数。
///
/// Tooltip的当前坐标
/// Tooltip的最终坐标
public delegate Vector3 DelegateTooltipPosition(Vector3 pos);
}