mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 01:40:06 +00:00
修复AxisLabel的formatterFunction在数值轴时value不对的问题
This commit is contained in:
@@ -413,7 +413,7 @@ namespace XCharts.Runtime
|
||||
protected string GetFormatterFunctionContent(int labelIndex, double value, string currentContent)
|
||||
{
|
||||
return m_FormatterFunction == null ? currentContent :
|
||||
m_FormatterFunction(labelIndex, labelIndex, null, currentContent);
|
||||
m_FormatterFunction(labelIndex, value, null, currentContent);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user