完善RadarChartIndicator\n换行的支持

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

View File

@@ -1,6 +1,7 @@
# 更新日志
* (2020.11.13) Improved `RadarChart` `Indicator` support for `\n` line feed
* (2020.11.12) Fixed `LineChart` reporting errors when the type was `Smooth` when the data was too secure #100
* (2020.10.22) Improve the support of `VisualMap` for `Piecewise` in `HeatmapChart`
* (2020.09.22) Fixed `PieChart` inconsistent border size

View File

@@ -1,6 +1,7 @@
# 更新日志
* (2020.11.13) 完善`RadarChart``Indicator``\n`换行的支持
* (2020.11.12) 修复`LineChart`当类型为`Smooth`时数据过密情况下报错的问题 #100
* (2020.10.22) 完善`HeatmapChart``VisualMap``Piecewise`的支持
* (2020.09.22) 修复`PieChart`边框大小不一致的问题

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 无限制。