完善RadarChartIndicator\n换行的支持

This commit is contained in:
monitor1394
2020-11-13 08:48:59 +08:00
parent 68d130daf1
commit 68d21075f2
3 changed files with 3 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ namespace XCharts
/// The name of indicator.
/// 指示器名称。
/// </summary>
public string name { get { return m_Name; } set { m_Name = value; } }
public string name { get { return FormatterHelper.TrimAndReplaceLine(m_Name); } set { m_Name = value; } }
/// <summary>
/// The maximum value of indicator, with default value of 0, but we recommend to set it manually.
/// 指示器的最大值,默认为 0 无限制。