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.
Unfortunately, activation email could not send to your email. Please try again.

How do you get data series from a segment?

Thread ID:

Created:

Updated:

Platform:

Replies:

80359 Mar 31,2009 01:30 PM Apr 3,2009 02:24 AM WPF 2
loading
Tags: Chart
Dale Haessel
Asked On March 31, 2009 01:30 PM

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 01:41 PM

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 02:24 AM

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


CONFIRMATION

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.

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.

;