mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-17 05:50:09 +00:00
增加Formatter配置Axis的AxisLabel的格式化输出
This commit is contained in:
@@ -12,6 +12,7 @@ namespace XCharts
|
||||
|
||||
public static string FloatToStr(float value, int f = 0)
|
||||
{
|
||||
if (f > 2) f = 2;
|
||||
Dictionary<float, string> valueDic;
|
||||
if (f == 1) valueDic = s_ValueToF1Str;
|
||||
else if (f == 2) valueDic = s_ValueToF2Str;
|
||||
|
||||
Reference in New Issue
Block a user