fix ring tooltip bug #192

This commit is contained in:
monitor1394
2022-04-21 22:07:30 +08:00
parent 76b8146e53
commit e6eea34a45
3 changed files with 6 additions and 1 deletions

View File

@@ -44,6 +44,9 @@
## branch-2.0
* (2022.04.21) Fixed bug #192 with `RingChart` `Tooltip` exception
* (2022.04.21) Fixed error when setting `minShowNum` in `DataZoom`
## v2.8.0
* (2022.04.10) Added the debug information panel

View File

@@ -44,6 +44,9 @@
## branch-2.0
* (2022.04.21) 修复`RingChart``Tooltip`异常的问题 #192
* (2022.04.21) 修复`DataZoom`设置`minShowNum`时可能会报错的问题
## v2.8.0
* (2022.04.10) 发布`v2.8.0`版本

View File

@@ -136,7 +136,6 @@ namespace XCharts
public bool CheckTootipArea(Vector2 local)
{
if (!chart.series.Contains(SerieType.Ring)) return false;
if (!PointerIsInRingSerie(chart.series, local)) return false;
if (m_IsEnterLegendButtom) return false;
bool selected = false;
chart.tooltip.runtimeDataIndex.Clear();