mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 09:50:15 +00:00
增加科学计数法显示数值的支持
This commit is contained in:
@@ -556,7 +556,7 @@ namespace XCharts
|
||||
sb.Append(serie.name).Append("\n");
|
||||
}
|
||||
sb.Append("<color=#").Append(m_ThemeInfo.GetColorStr(index)).Append(">● </color>")
|
||||
.Append(key).Append(": ").Append(ChartCached.FloatToStr(value));
|
||||
.Append(key).Append(": ").Append(ChartCached.FloatToStr(value, 0, m_Tooltip.forceENotation));
|
||||
m_Tooltip.UpdateContentText(sb.ToString());
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user