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