[add][legend] add the delegate callback for legend

This commit is contained in:
monitor1394
2022-05-04 09:19:45 +08:00
parent d1fd4dcf44
commit e92afac0de
3 changed files with 44 additions and 6 deletions

View File

@@ -88,6 +88,9 @@ namespace XCharts.Runtime
protected Action<PointerEventData, int, int> m_OnPointerClickPie;
protected Action<PointerEventData, int> m_OnPointerClickBar;
protected Action<Axis, double> m_OnAxisPointerValueChanged;
protected Action<Legend, int, string, bool> m_OnLegendClick;
protected Action<Legend, int, string> m_OnLegendEnter;
protected Action<Legend, int, string> m_OnLegendExit;
protected CustomDrawGaugePointerFunction m_CustomDrawGaugePointerFunction;