We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How do you get data series from a segment?

private void MouseLineLeave(object sender, Syncfusion.Windows.Chart.ChartMouseEventArgs e)
{
e.Segment.Highlighted = false;
e.Segment.StrokeThickness = 1;
}

I want to find the DataSeries to set properties on Series rather than segment



2 Replies

DH Dale Haessel April 1, 2009 05:41 PM UTC

I found out how to do this from another sample:

void chSeriesLoop_MouseLeave(object sender, ChartMouseEventArgs e)
{
ChartSeries ser = sender as ChartSeries;
ToolTip tooltip = ser.ToolTip as ToolTip;
tooltip.Visibility = Visibility.Collapsed;
}




PJ Pavithra J Syncfusion Team April 3, 2009 06:24 AM UTC

Hi Dale,

Thanks for your interest in Syncfusion products.

Yes, you have found out the right way of getting the series by casting the arguments of the routed events.

Please let us know if you have further queries.

Regards,
Pavitha.J


Loader.
Live Chat Icon For mobile
Up arrow icon