mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 18:00:26 +00:00
fix ring tooltip bug #192
This commit is contained in:
@@ -44,6 +44,9 @@
|
|||||||
|
|
||||||
## branch-2.0
|
## 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
|
## v2.8.0
|
||||||
|
|
||||||
* (2022.04.10) Added the debug information panel
|
* (2022.04.10) Added the debug information panel
|
||||||
|
|||||||
@@ -44,6 +44,9 @@
|
|||||||
|
|
||||||
## branch-2.0
|
## branch-2.0
|
||||||
|
|
||||||
|
* (2022.04.21) 修复`RingChart`的`Tooltip`异常的问题 #192
|
||||||
|
* (2022.04.21) 修复`DataZoom`设置`minShowNum`时可能会报错的问题
|
||||||
|
|
||||||
## v2.8.0
|
## v2.8.0
|
||||||
|
|
||||||
* (2022.04.10) 发布`v2.8.0`版本
|
* (2022.04.10) 发布`v2.8.0`版本
|
||||||
|
|||||||
@@ -136,7 +136,6 @@ namespace XCharts
|
|||||||
public bool CheckTootipArea(Vector2 local)
|
public bool CheckTootipArea(Vector2 local)
|
||||||
{
|
{
|
||||||
if (!chart.series.Contains(SerieType.Ring)) return false;
|
if (!chart.series.Contains(SerieType.Ring)) return false;
|
||||||
if (!PointerIsInRingSerie(chart.series, local)) return false;
|
|
||||||
if (m_IsEnterLegendButtom) return false;
|
if (m_IsEnterLegendButtom) return false;
|
||||||
bool selected = false;
|
bool selected = false;
|
||||||
chart.tooltip.runtimeDataIndex.Clear();
|
chart.tooltip.runtimeDataIndex.Clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user