Hi Adam,
Greetings from Syncfusion.
We have analyzed your requirement and you can achieve this by raising MouseMove event in ChartLegend and checking the mouse over element DataContext as per the below code snippet.
Code snippet
<chart:SfChart x:Name="chart" >
<chart:SfChart.Legend>
<chart:ChartLegend MouseMove="ChartLegend_MouseMove" />
</chart:SfChart.Legend>
|
private void ChartLegend_MouseMove(object sender, MouseEventArgs e)
{
if(e.OriginalSource is FrameworkElement &&
(e.OriginalSource as FrameworkElement ).DataContext is LegendItem)
{
}
}
|
Please let us know if you have any other queries.
Regards,
Muneesh Kumar G