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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do you get data series from a segment?

Thread ID:





80359 Mar 31,2009 05:30 PM UTC Apr 3,2009 06:24 AM UTC WPF 2
Tags: Chart
Dale Haessel
Asked On March 31, 2009 05:30 PM UTC

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

Dale Haessel
Replied On 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;

Pavithra J [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon