mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 20:28:46 +00:00
修复PieChart的Tooltip高亮不会还原的问题
This commit is contained in:
@@ -75,7 +75,6 @@ namespace XCharts
|
|||||||
|
|
||||||
public bool CheckTootipArea(Vector2 local)
|
public bool CheckTootipArea(Vector2 local)
|
||||||
{
|
{
|
||||||
if (!PointerIsInPieSerie(chart.series, local)) return false;
|
|
||||||
bool selected = false;
|
bool selected = false;
|
||||||
chart.tooltip.runtimeDataIndex.Clear();
|
chart.tooltip.runtimeDataIndex.Clear();
|
||||||
foreach (var serie in chart.series.list)
|
foreach (var serie in chart.series.list)
|
||||||
@@ -493,8 +492,6 @@ namespace XCharts
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void DrawPieLabel(Serie serie, int dataIndex, SerieData serieData, Color serieColor)
|
private void DrawPieLabel(Serie serie, int dataIndex, SerieData serieData, Color serieColor)
|
||||||
{
|
{
|
||||||
if (serieData.labelObject == null) return;
|
if (serieData.labelObject == null) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user