增加AxisonLabelClick回调事件

This commit is contained in:
monitor1394
2025-03-27 08:39:30 +08:00
parent da360693e6
commit 546ff1f61a
2 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ namespace XCharts
if (label == null) continue;
if (label.InRect(chart.pointerPos))
{
component.onLabelClick.Invoke(chart.pointerPos, i, label.text.text.text);
component.onLabelClick.Invoke(i, label.text.text.text);
break;
}
}