修复PieChart数据全为0Label无法正常显示的问题

This commit is contained in:
monitor1394
2021-05-24 21:35:53 +08:00
parent 9ba02b37fc
commit 3451b74669
3 changed files with 3 additions and 0 deletions

View File

@@ -34,6 +34,7 @@
## master
* (2021.05.24) Fixed the problem that `Label` could not display properly when `PieChart` data were all `0`
* (2021.05.24) Fixed an issue where `Serie Name` was not working on the `Add Serie` panel (#149)
* (2021.05.23) Added `TextStyle` `wrap` to set whether to wrap lines
* (2021.05.23) Added` axisLabel `to` autoAlign `whether to set alignment automatically

View File

@@ -34,6 +34,7 @@
## master
* (2021.05.24) 修复`PieChart`数据全为`0``Label`无法正常显示的问题
* (2021.05.24) 修复`Add Serie`面板上`Serie Name`不生效的问题 (#149)
* (2021.05.23) 增加`TextStyle``wrap`设置是否自动换行
* (2021.05.23) 增加`AxisLabel``autoAlign`设置是否让系统自动设置对齐方式

View File

@@ -188,6 +188,7 @@ namespace XCharts
zeroReplaceValue = totalDegree / data.Count;
serie.runtimeDataMax = zeroReplaceValue;
serie.runtimePieDataTotal = 360;
dataTotalFilterMinAngle = 360;
}
else
{